mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-07 10:20:57 +00:00
perf: Automation execution
This commit is contained in:
@@ -13,6 +13,6 @@ def quickstart_automation_by_snapshot(task_name, tp, task_snapshot=None):
|
||||
data['id'] = str(uuid.uuid4())
|
||||
|
||||
execution = AutomationExecution.objects.create(
|
||||
trigger=Trigger.manual, **data
|
||||
type=tp, trigger=Trigger.manual, **data
|
||||
)
|
||||
execution.start()
|
||||
|
Reference in New Issue
Block a user