celery_app.conf.update(
CELERYBEAT_SCHEDULE = {
'taskA': {
'task': 'crawlerapp.tasks.manual_crawler_update',
'schedule': timedelta(seconds=3600),
},
'taskB': {
'task': 'crawlerapp.tasks.auto_crawler_update_day',
'schedule': timedelta(seconds=3600),
},
'taskC': {
'task': 'crawlerapp.tasks.auto_crawler_update_hour',
'schedule': timedelta(seconds=3600),
},
})
我的应用程序中有 3 个节拍任务。当节拍任务运行时,我flower
用来管理任务。
当我发现一个任务有bug时,我必须停止整个任务来修改bug。然后我重新启动芹菜。
是否可以只停止一项任务并让其他任务继续运行?