[Opensource] Re: Cron Jobs

BSC bsci at lycos.com
Sat May 3 22:14:00 PDT 2003


>> Am I the only one that thinks that cron jobs are not reloading into the 
Cron upon a server restart?  I haven't had the need for it until 
recently.  I know other folks are using it on a fairly regular basis, so I 
wanted feedback before I mucked with anything.

						-Mike

Mike, I found some thread-timing problems with using the JobHandlerControl to 'restart' jobs.  I avoided this by simply requesting a 'stop' and then modifying the JobQueue entry to enable the job for startup by setting: StatusCode='A' and ServerID=0
As far as server restart, I found that any job scheduled in the future would have a StatusCode='R' (ie 'running' since it would have already been processed by the controller) and that it would be picked up on server restart for future launching.
Not sure if I answered your question....

---
Aime 





____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005



More information about the Opensource mailing list