Answer the question
In order to leave comments, you need to log in
How to use celery local settings in django?
I have a django app with a bunch of periodic jobs in celery that needs to be written in local_settings to run _only_ one particular job.
I tried doing this, but it doesn't help:
BROKER_URL = 'amqp://test:[email protected]/'
CELERYBEAT_SCHEDULER = "djcelery.schedulers.DatabaseScheduler"
CELERYBEAT_SCHEDULE = {
"test_task": {
"task": "test.ptask",
"schedule": crontab(minute="*/5"),
"options": {'queue': 'slow_tasks'}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question