Creating a task from the command line with a stop running duration on 2003
I'm trying to automate the creation of a task for use on my servers, I would like to make it so that the task is stopped if it has been running for over an hour.
I can do this on windows 7 by exporting the manually created task and then creating the task using the /xml parameter of schtasks, however this parameter isn't available pre-vista.
Is there any way to do this on windows server 2003?
December 16th, 2010 10:23am