How do I schedule a task to run every hour indefinitely on Server 2003
Solution 1
You don't really need the task to run infinitely just long enough that you never have to worry about it again...set the end date 50 years into the future. It shouldn't really matter either way
Solution 2
Here's how I've got one of those tasks set up. (Every three hours instead of one, but you should get the gist.)
Task runs daily, repeats every x hours for... all day.
Related videos on Youtube
GOUTHAM REDDY
Software developer currently living in Belfast, jack of a couple of trades, master of none!
Updated on September 18, 2022Comments
-
GOUTHAM REDDY over 1 year
I am moving a scheduled task from a Windows 7 machine to a Windows Server 2003 machine.
On Windows 7 I can configure my task to run every hour indefinitely by setting up a custom trigger like so:
On Windows Server 2003, I assume I need to use the advanced schedule options, and I have got this far:
Whether I choose duration or time, my task seems to have an expiry date, how do I get this to run indefinitely? The only thing I can think of at the minute is to setup 24 schedules for my task, one for each hour but there has to be a more elegant way.
Thanks
-
Phrogz over 9 years-1 because IMHO the question is not about the
End Date
, but rather theUntil
value. This answer does not (AFAICT) explain what value to use forTime
orDuration
in order to ensure that the task repeats throughout the day. -
Phrogz over 9 yearsAny reason you chose
23:59
instead of24:00
for the Duration? You state that yours works, so I'm blindly going to copy it, but I wonder if there's any downside to just using24 hours
.