3

I want to schedule a task to run at 5 minutes past midnight UTC every morning.

My computer automatically adjusts for daylight saving time, so during the winter I have the task scheduled for 00:05:00, and when the clocks go forward to BST (British Summer Time) I have to remember to alter the task to run at 01:05:00. I'm using task scheduler 1.0 on windows 10 pro.

Ok, so I only I have to remember this change twice a year, but it's really annoying that I can't find anyway to do this automatically.


Update: One of the issues with a problem like this is that the live task is only run once a day, and the timezones only change twice a year, so creating a suitable test environment isn't very easy. I've tried the 'synchronise across time zones' button and it doesn't seem to do much, I think it's for running multiple jobs across different servers in different time zones.

Giacomo1968
  • 58,727

1 Answers1

1

Ok this answer doesn't explain how to get your tasks to schedule on a fixed UTC time but it might explain why you may need to look for a third party task scheduler. Windows task scheduler does not properly support summer time changes. SVR2012 didn't, SVR2016 didn't and SVR2019 definitely doesn't.

With SVR2016 you can set the 'run missed task option' to get around it, but SVR2019 doesn't work even if you set the option. With SVR2019 once BST change has occurred, it seems all scheduled tasks for the next 24 hours are disabled and a reboot of windows is required to enable them immediately.

Update: Server 2019 v1809 (OS build 17763.2237) may have fixed task scheduler.

Giacomo1968
  • 58,727
Barny
  • 91