提交 32e2d195 编写于 作者: X xinwen

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

上级 48d1eecc
......@@ -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 ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册