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
- [Django]-Django. Remove select_related from queryset
- [Django]-Set language of template in Django by clicking on <a> link from Bootstrap Dropdown menu
Source:stackexchange.com