fix: 改密计划关掉周期执行再打开,任务不再执行

pull/5920/head
xinwen 4 years ago committed by 老广
parent 67d3b63c6d
commit 31982c6547

@ -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…
Cancel
Save