I\'ve been working on a web app using Django, and I\'m curious if there is a way to schedule a job to run periodically.
Basically I just want to run through the dat
Yes, the method above is so great. And I tried some of them. At last, I found a method like this:
from threading import Timer def sync(): do something... sync_timer = Timer(self.interval, sync, ()) sync_timer.start()
Just like Recursive.
Ok, I hope this method can meet your requirement. :)