Adding Tasks to a Celery Queue on an Infinite Loop#
Sometimes you need to continuously do a certain task on an interval.
Oftentimes people use cron, but it isn’t the correct tool in my opinion.
You can also use a python
while True: loop with
You could use timeloop
If you are using
celery you can use
celery.beat for periodic tasks