[Backgroundrb-devel] followup on another cron scheduling issue

hemant gethemant at gmail.com
Thu Feb 7 17:29:36 EST 2008


On Feb 7, 2008 10:55 PM, Tom Wood <thomas.a.wood at uconn.edu> wrote:
>
>
>
>
> About a week ago I mailed a question to the list about a cron scheduling
> problem (worker running on an non-scheduled day) … I have little bit more
> information on this problem (but no patch, sorry! :-)
>
>
>
> Am running 1.0.1 + Meng Kuan's recent patch to cron_trigger.rb.
>
>
>
> I have a worker scheduled ala:
>
>
>
>   :debugger_worker:
>
>     :ping:
>
>       :trigger_args: 0 0/5 09-17 * * 1,3,5 *
>
>
>
> (in other words, run every 5 minutes between 9a – 5p on Mon/Wed/Fri.)
>
>
>
> Here's what happened:
>
>
>
> Correct: The worker ran correctly every 5 minutes on Friday, 9a – 5p.
>
> Incorrect: It ran once on Saturday at 9a, but did not run again that day.
>
> Correct: It did not run on Sunday.
>
> Correct: It ran every 5 minutes on Monday, 9a – 5p.
>
> Incorrect: It ran once on Tuesday at 9a, and did not yet run again that day.
>
> Correct: Ran every 5 minutes on Wednesday, 9a – 5p
>
> Incorrect: Ran once on Thursday at 9a, and did not run again that day.
>
>
>

Well, Cron Scheduler bugs are getting fixed. I am writing exhaustive
specs for cron trigger. Check out this pastie:

http://pastie.caboo.se/148945


More information about the Backgroundrb-devel mailing list