Created
June 12, 2019 12:47
-
-
Save ahmadalsajid/8269f73bd15777013e4ebb4f7c9de8a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The names of the workers. This example create one worker | |
CELERYD_NODES="worker1" | |
# The name of the Celery App, should be the same as the python file | |
# where the Celery tasks are defined | |
CELERY_APP="db_update" | |
# Log and PID directories | |
CELERYD_LOG_FILE="/var/log/celery/%n%I.log" | |
CELERYD_PID_FILE="/var/run/celery/%n.pid" | |
# Log level | |
CELERYD_LOG_LEVEL=INFO | |
# Path to celery binary, that is in your virtual environment | |
CELERY_BIN=/home/sajid/venv/course_management/bin/celery | |
# Options for Celery Beat | |
CELERYBEAT_PID_FILE="/var/run/celery/beat.pid" | |
CELERYBEAT_LOG_FILE="/var/log/celery/beat.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment