celerybeat.conf 593 B

12345678910111213141516171819202122
  1. ; ================================
  2. ; celery beat supervisor example
  3. ; ================================
  4. [program:celerybeat]
  5. ; Set full path to celery program if using virtualenv
  6. command=celery beat -A myapp --schedule /var/lib/celery/beat.db --loglevel=INFO
  7. ; remove the -A myapp argument if you are not using an app instance
  8. directory=/path/to/project
  9. user=nobody
  10. numprocs=1
  11. stdout_logfile=/var/log/celery/beat.log
  12. stderr_logfile=/var/log/celery/beat.log
  13. autostart=true
  14. autorestart=true
  15. startsecs=10
  16. ; if rabbitmq is supervised, set its priority higher
  17. ; so it starts first
  18. priority=999