clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

Settings a wrong timezone prevents clockwork from running

Open exadeci opened this issue 7 years ago • 3 comments

If config[:tz] is set to a value that is unvalid for TZInfo clockwork loads but doesn't run any task and there is no errors.

exadeci avatar Apr 20 '17 02:04 exadeci

I noted this as well, even after the refactoring to remove the activesupport dependency (https://github.com/Rykian/clockwork/commit/7418d24026ab4bcad3cd3a19d46d45c61275ac68). I accidentally passed it the human readable time (Pacific Time (US & Canada)) instead of the IANA time (America/Los_Angeles) and it silently failed.

Not sure where the error is getting rescued or swallowed up though

abhchand avatar Dec 25 '17 07:12 abhchand

@abhchand we've noticed the same issue as that commit was included with the 2.0.3 release. I've asked @Rykian in #40 if he's open to a PR for reverting that commit and the others in #18.

javierjulio avatar Feb 28 '18 04:02 javierjulio

I confirm this issue too : I switched "Brussels" to "Europe/Brussels" and it works again.

aurels avatar Jun 19 '18 12:06 aurels