-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What timezone? #3
Comments
Thanks for your comment :) This plugin doesn't handle any timezone, so as you mentioned, the cron follows on the server time settings. I was also thinking of supporting timezone, but the "node-schedule" I'm using doesn't support it, so it's quite hard to do so. May be I should use "node-cron" instead, which act like "cron-parser" and also supports timezone. |
@matsukaz no worries on the timezones. My servers are in UTC anyways so it's not hard to adjust. Probably more work than it's worth. I should note, however, that there is some weirdness with the script. It seems I can create schedules and they work fine, but when I delete them, even though it doesn't run anymore and is gone in Redis, they all still show up with
Not sure if it's being cached or something. |
Humm, that's weird... |
@MrMMorris |
you're amazing! |
Thanks for the awesome plugin!
I was wondering what timezone does cron follow? Is it the timezone of the server hubot is running on? or UTC?
It would be cool to be able tot set a timezone with an env var or something :)
The text was updated successfully, but these errors were encountered: