File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,13 @@ Both the worker and beat services need to be running at the same time.
207207 $ celery -A [project-name] beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
208208
209209
210- **OR** you can use the -S (scheduler flag), for more options see ``celery beat --help ``)::
210+ **OR** you can use the -S (scheduler flag), for more options see ``celery beat --help``)::
211211
212212 $ celery -A [project-name] beat -l info -S django
213+
214+ **OR** you can set the scheduler through Django's settings::
215+
216+ CELERY_BEAT_SCHEDULER = 'django_celery_beat.schedulers:DatabaseScheduler'
213217
214218
215219Also, as an alternative, you can run the two steps above (worker and beat services)
You can’t perform that action at this time.
0 commit comments