Django periodic checks

0

How could I create a loop, thread or anything that my webapp periodically checks every 5min the database and exclude entries that are "due."

I researched but did not find anything specific. I even found something saying that you should create another program that accesses an app's api to make that communication. I do not know if this is the most efficient or "professional" option.

Thank you all.

    
asked by anonymous 10.11.2017 / 21:12

1 answer

1

What you want to do, could be easily accomplished through Celery , more specifically the Periodic Tasks . In the documentation you will find examples with Django.

    
12.11.2017 / 14:41