Way to schedule tasks in windows specifying a specific time zone

scheduled-taskstime zone

I need to schedule several tasks to run, where each needs to run at a specific local time in a different city. For example, one job might need to run at 19:00 New York City, and another needs to run at 08:00 Berlin.

The problem is not only does daylight savings change the UTC time these jobs will run, but different cities adjust their clocks on different days, so the offset between different cities is also constantly changing.

Is there any way to do this in Windows without writing custom scripts? Is there any commercial software package that can handle this?

Best Answer

This answer indicates Windows Task Scheduler 'New Trigger' window has a checkbox Synchronize across time zones. When it's checked:

the task is scheduled by UTC only. (All times are still shown as local time, but are stored as UTC.)

So basically create the task, create the trigger, check that box, set the time, BE SURE to subtract the timezone difference for the current location of the machine running the task.

Ex: the task is being setup on a server in California which is PST (Pacific Standard Time) so UTC -8 so we'd add 8hr to California/PST time to get UTC time. Say I want this to run at 6pm in New York which is EST, itself UTC -5 meaning add 5hr to NY/EST to get UTC time; so 6pm would be 11pm UTC. So on the California server task we want it to be 11pm UTC, however the task shows California time, but we know California time is UTC -8 so we simply set task to start at 3pm. This is all providing that checkbox is as that user advises. I can't seem to find official Microsoft documentation on it. It's clearly very confusing

Related Question