mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-23 00:38:39 +00:00
14 lines
212 B
Python
14 lines
212 B
Python
# coding: utf-8
|
|
from celery import shared_task
|
|
|
|
from .utils import run_adhoc
|
|
|
|
|
|
def rerun_task():
|
|
pass
|
|
|
|
|
|
@shared_task
|
|
def run_add_hoc_and_record_async(adhoc, **options):
|
|
return run_adhoc(adhoc, **options)
|