[Answer]-Django infinite loop to access models

1👍

You should use a job scheduler for such thing, you have multiple options with different features and complexity and your choice will depend on your requirements. Here is some examples:

django-chronograph

Celery

django-rq

Another option is to create management task and run it using a cron job.

Leave a comment