Enable a scheduling task using a batch file

I need to enable the schedule task through a batch file, for this task the schedule runs every 2 minutes after switching on. Using SCHTASKS / Run - run the task, but only after it does not care about the schedule, that is, every 2 minutes

I need to do this through a batch file. I am using a Windows 2003 server.

Please guide.

+5
source share
3 answers
schtasks /change /tn "TaskNameGoesHere" /ENABLE
+7
source

You can do this with the command at

Example:

at 10AM every:SU "C:\Program Files\VideoLAN\VLC\vlc.exe"
+3
source
+2

All Articles