I have a period task which schedule is got from database
Because we want the value can be changed by user
app.conf.CELERYBEAT_SCHEDULE = {
'do_something': {
'task': 'celery_task.tasks.do_something',
'schedule': timedelta(seconds=get_setting()),
'options': { 'queue': 'do_something',
'expires':get_setting()}
},
When I execute celery beat -A project --loglevel=INFO
it run the task by every timedelta(seconds=get_setting()
But when I change the time in database
The task still use old schedule time
How can I let it use new schedule time????
Could it possible without restart celery beat??