-
Notifications
You must be signed in to change notification settings - Fork 653
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
Add time zone (DST) support for scheduled triggered webjobs #1783
Comments
Anything we discuss/decide is also relevant to TimerTrigger in the WebJobs SDK repo - it also uses NCronTab. |
you can potentially change the time zone for a site from UTC to whatever time zone you want using the |
Thanks, @ahmelsayed, that will actually solve my problem! Sweet! |
Damn I love Azure and App Service. It's pure gold. |
I have also written one web job ...which was running in UTC environment where as I want it to run in IST .. I just add application setting "WEBSITE_TIME_ZONE" with value "India Standard Time" and restarted web app. its solve my problem..simply great Azure !! |
Issue is still on rampage. to simulate in local the azure timezone (UTC+0). Nothing. It keeps adding 1 hour becuase we are in the summer daylight saving timezone. The only way I found is removing 1 hour with .AddHours(-1). No class or timezone setting is available to remove the extra hour. Not good. |
@Porkechebure that is by design. You need to set |
Right now scheduled triggered webjobs are using either Azure Scheduler or NCronTab with CRON-expressions and currently none of these support time zones or DST (Daylight Saving Time).
My issue is that I have a lot of jobs across many web apps set up to run at specific times of day, like 15:00 each day. And since I live in a timezone with DST all my schedules need to be manually edited each time summer-time or winter-time comes.
How could we fix this? I'm considering adding support for time zone and DST in the NCronTab and trying to create a pull-request for that (not sure how much work that would be, but I think it's doable).
Thoughts, anyone?
Interesting StackOverflow article: http://stackoverflow.com/questions/13195999/daylight-savings-and-cron
Another dude: http://codeofmatt.com/2013/11/04/windows-azure-scheduler/
Cheers!
The text was updated successfully, but these errors were encountered: