Skip to main content
The 2024 Developer Survey results are live! See the results
added a note on dependence on time.
Source Link
thursdaysgeek
  • 2.4k
  • 8
  • 26
  • 34

I have a Windows Task Scheduler set up to run something every hour. I do this by having it run daily, starting at 12:01 pm, and repeat the task every 1 hour, for a duration of 1 day.

This mostly works, but it sometimes doesn't run at 11:01 am the next day (the last instance). I look at the history log, and it doesn't even attempt to run that last run. It runs normally at 9:01 and then 10:01 and then it is done.

Because it runs daily, it restarts at 12:01. But I need it to reliably run every hour, every day. Are there better ways to schedule this so it doesn't drop the 11:01 run?

This is on a Windows 10 virtual machine.

Note: it's VERY important that this run at 1 minute past the hour. That can't change over time, and even being off by 1 minute would make other processes fail.

I have a Windows Task Scheduler set up to run something every hour. I do this by having it run daily, starting at 12:01 pm, and repeat the task every 1 hour, for a duration of 1 day.

This mostly works, but it sometimes doesn't run at 11:01 am the next day (the last instance). I look at the history log, and it doesn't even attempt to run that last run. It runs normally at 9:01 and then 10:01 and then it is done.

Because it runs daily, it restarts at 12:01. But I need it to reliably run every hour, every day. Are there better ways to schedule this so it doesn't drop the 11:01 run?

This is on a Windows 10 virtual machine.

I have a Windows Task Scheduler set up to run something every hour. I do this by having it run daily, starting at 12:01 pm, and repeat the task every 1 hour, for a duration of 1 day.

This mostly works, but it sometimes doesn't run at 11:01 am the next day (the last instance). I look at the history log, and it doesn't even attempt to run that last run. It runs normally at 9:01 and then 10:01 and then it is done.

Because it runs daily, it restarts at 12:01. But I need it to reliably run every hour, every day. Are there better ways to schedule this so it doesn't drop the 11:01 run?

This is on a Windows 10 virtual machine.

Note: it's VERY important that this run at 1 minute past the hour. That can't change over time, and even being off by 1 minute would make other processes fail.

Post Reopened by LPChip, DavidPostill
Post Closed as "Needs more focus" by DavidPostill
Source Link
thursdaysgeek
  • 2.4k
  • 8
  • 26
  • 34

Windows Task Scheduler doesn't run last instance

I have a Windows Task Scheduler set up to run something every hour. I do this by having it run daily, starting at 12:01 pm, and repeat the task every 1 hour, for a duration of 1 day.

This mostly works, but it sometimes doesn't run at 11:01 am the next day (the last instance). I look at the history log, and it doesn't even attempt to run that last run. It runs normally at 9:01 and then 10:01 and then it is done.

Because it runs daily, it restarts at 12:01. But I need it to reliably run every hour, every day. Are there better ways to schedule this so it doesn't drop the 11:01 run?

This is on a Windows 10 virtual machine.