durusmail: quixote-users: call a scheduled method
call a scheduled method
2003-07-30
2003-08-05
call a scheduled method
Jeff Koncz
2003-07-30
Where is the best place to put in some code for calling a scheduled method?
I need to call this thing every 10 minutes.  I'll use some sort of loop with
time.sleep(600) to get my interval, so no problem there.  I'm just not sure
where to put this type of code in the application.   It needs to run in the
same process as my Quixote app.  I use SCGI to serve it so I'm thinking I
could override main() in scgi.quixote_handler and then put my scheduled
method code in there.  Is that a good approach?  Any other ideas?

Thanks,

- Jeff Koncz

reply