[Rails] Re: Cron scheduling for daemon gem

2008-12-22 Thread Mark Mr
Dejan Dimic wrote: > If you need to perform some action at particular time then you should > test is is a time to action. > If time is right, do you thing. > If not then sleep a while and then test it once again. > > You can have an initial sleeping interval and then you can adjust in > correlati

[Rails] Re: Cron scheduling for daemon gem

2008-12-22 Thread Dejan Dimic
If you need to perform some action at particular time then you should test is is a time to action. If time is right, do you thing. If not then sleep a while and then test it once again. You can have an initial sleeping interval and then you can adjust in correlation how far is the next running ti