O
Oni
Guest
I try to schedule tasks from the command line, but am unable to use the
/du Duration and /et EndTime options.
I've Also been looking at Microsoft TechNet for more info but i'm still
unable to perform the following action.
http://technet.microsoft.com/en-us/library/cc772785.aspx
What i want to achieve, is to start and then end the specific task after 1
minute and then have it run again a minute later.
I can make it restart every 2 minutes if i shut it down manually or alter
the scheduled task GUI, but i'am not able to do this from the command line.
This works but does not perfom what i want:
schtasks /create /TN "My App" /TR xxx.exe /SC MINUTE /MO 2 /ST 04:45:00
This doesn't work at all:
SCHTASKS /CREATE /TN "My App" /TR cmd.exe /SC MINUTE /MO 2 /ST 04:45:00 /DU
0000:01
All help will be appreciated.
--
Regards
Oni
/du Duration and /et EndTime options.
I've Also been looking at Microsoft TechNet for more info but i'm still
unable to perform the following action.
http://technet.microsoft.com/en-us/library/cc772785.aspx
What i want to achieve, is to start and then end the specific task after 1
minute and then have it run again a minute later.
I can make it restart every 2 minutes if i shut it down manually or alter
the scheduled task GUI, but i'am not able to do this from the command line.
This works but does not perfom what i want:
schtasks /create /TN "My App" /TR xxx.exe /SC MINUTE /MO 2 /ST 04:45:00
This doesn't work at all:
SCHTASKS /CREATE /TN "My App" /TR cmd.exe /SC MINUTE /MO 2 /ST 04:45:00 /DU
0000:01
All help will be appreciated.
--
Regards
Oni