Dynamic Task Scheduling With Django-celery-beat
Published in
9 min readDec 3, 2020
When there is a need to run asynchronous or recurring tasks in Django applications, celery is the go-to project for implementation. And celery docs and the examples out there are quite enough to get started. However, there is a special use case we will cover here: dynamically starting, pausing, or stopping periodic tasks depending on the state of our models or the user input.
This guide assumes that you already know how to set up a Django project, install requirements in a virtual environment, run the server, and play around with models, views, and…