Because we're using threading.Timer, if the django instance is terminated
before the timer finishes, the job is just not run.
I propose we move to a new approach that is something like this:
Create a piece of code that repeats periodically (maybe every 10 seconds)
that just checks if any jobs need to be run.
Have the actual jobs run immediately (instead of using timer) whenever the
repeating code determines enough time has passed based on `run_every`
Thoughts?
PS - Is there a way to make mod_python wait for a piece of code to finish
running? Maybe run it in seperate process using popen?
Original issue reported on code.google.com by Jim.mixt...@gmail.com on 18 Apr 2009 at 1:39
Original issue reported on code.google.com by
Jim.mixt...@gmail.com
on 18 Apr 2009 at 1:39