celerybeat.conf 699 B

12345678910111213141516171819202122232425
  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 aren't 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. ; Causes supervisor to send the termination signal (SIGTERM) to the whole process group.
  17. stopasgroup=true
  18. ; if rabbitmq is supervised, set its priority higher
  19. ; so it starts first
  20. priority=999