clockwork
clockwork copied to clipboard
Settings a wrong timezone prevents clockwork from running
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.
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 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.
I confirm this issue too : I switched "Brussels"
to "Europe/Brussels"
and it works again.