[Django]-Django + celery – why my periodic task in not running?

7👍

celery beat does not execute tasks. Only schedule tasks into queue. celery worker executes tasks.

To execute tasks periodically you have to start both celery beat and celery worker.

python manage.py celery beat
python manage.py celery worker

2👍

Install celery too. Then dont run it with manage.py. Run it like this:

celery -A your_app_name worker -l info -B -E

so without python manage.py

👤Harry

Leave a comment