Rykian / clockwork

A scheduler process to replace cron.
MIT License
543 stars 66 forks source link

Settings a wrong timezone prevents clockwork from running #11

Open exadeci opened 7 years ago

exadeci commented 7 years ago

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.

abhchand commented 6 years ago

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

javierjulio commented 6 years ago

@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.

aurels commented 6 years ago

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