Improve periodic tasks docs

This commit is contained in:
Luka Matijevic 2020-05-11 13:09:23 +02:00
parent a17f665c52
commit 201a96ff72
1 changed files with 4 additions and 0 deletions

View File

@ -390,6 +390,10 @@ Here are the Celery configuration variables that should be set::
CELERY_IMPORTS = ('lemur.common.celery')
CELERY_TIMEZONE = 'UTC'
Do not forget to import crontab module in your configuration file::
from celery.task.schedules import crontab
You must start a single Celery scheduler instance and one or more worker instances in order to handle incoming tasks.
The scheduler can be started with::