Adding Tasks To A Celery Queue On An Infinite Loop
Adding tasks to a Celery queue on an infinite loop#
Sometimes you need to continuously do a certain task on an interval.
Often people use cron, but it is not always the correct tool.
You can also use a python while True: loop with sleep()s.
You could use timeloop
If you are using celery, use celery.beat for periodic tasks.