[Backgroundrb-devel] UK Daylight Savings

Zachary Powell zach at plugthegap.co.uk
Mon Mar 31 05:49:45 EDT 2008


Apparently this hasn't fixed it -the scheduler has been firing off workers
repeatedly ("0 50 2 * * * *" firing off every few seconds etc). Will post
any findings later.
Zach

On Sun, Mar 30, 2008 at 11:21 PM, Zachary Powell <zach at plugthegap.co.uk>
wrote:

> A quick fix for anyone running into this problem:
>
> load_schedule was crashing cron_trigger.rb#160, and I found that for
> triggers like "0 20 5 * * * *" it was putting in 32 for the date (even
> though its Mon Mar 31 04:16:21 BST 2008). Something to do with switching to
> day light savings I think, which concludes after 2am. I patched it by adding
>
> day = 31 if day == 32
>
> on the line before. Not sure if there are any ramifications to this, but
> it seems to be running now.
>
> Zach
>
> (I'm running r303 right now. possibly this has been fixed)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080331/1c07f12e/attachment.html 


More information about the Backgroundrb-devel mailing list