mirror of https://github.com/jumpserver/jumpserver
fix: 改密计划关掉周期执行再打开,任务不再执行
parent
48d1eecc08
commit
32e2d19553
|
@ -72,6 +72,7 @@ def create_or_update_celery_periodic_tasks(tasks):
|
|||
crontab=crontab,
|
||||
name=name,
|
||||
task=detail['task'],
|
||||
enabled=detail.get('enabled', True),
|
||||
args=json.dumps(detail.get('args', [])),
|
||||
kwargs=json.dumps(detail.get('kwargs', {})),
|
||||
description=detail.get('description') or ''
|
||||
|
|
Loading…
Reference in New Issue