How do I create a scheduled task, via command line, which includes advanced options
- by David
I'm trying to create a scheduled task (in WinXP) which runs every 10 minutes, starting at 16:00:00 to 06:00:00, daily, from the command line.
Currently, I can create a scheduled task which runs every 10 minutes, starting at 16:00:00, daily, by using the following command:
SCHTASKS.EXE /CREATE /SC MINUTE /MO 10 /TN "Scheduled task name" /ST 16:00:00 /SD 01/01/2000 /TR task.bat /RU SYSTEM
The question is, how do I modify the previous command so that it stops running at 06:00:00?