![Windows - schedule tasks from command line using schtasks](https://ytimg.googleusercontent.com/vi/oGssf1-DynA/hqdefault.jpg)
Windows – schedule tasks from command line using schtasks
1) schtasks help
tasks sch /?
2) Query existing schedules
schtasks /QUERY /FO LIST /V
3) Create a new schedule
schtasks /create /tn TaskName /tr TaskRun /sc planning [/mo edit] [/d day]
[/m month[,month…] [/i IdleTime] [/st StartTime] [/sd StartDate] [/ed EndDate]
[/s computer [/u [domain//]user /p password]] [/ru {[Domain//]User /"System/"} [/rp Password]] /?
tasks sch /?
2) Query existing schedules
schtasks /QUERY /FO LIST /V
3) Create a new schedule
schtasks /create /tn TaskName /tr TaskRun /sc planning [/mo edit] [/d day]
[/m month[,month…] [/i IdleTime] [/st StartTime] [/sd StartDate] [/ed EndDate]
[/s computer [/u [domain//]user /p password]] [/ru {[Domain//]User /"System/"} [/rp Password]] /?
Learn more about this video:
http://jiansenlu.blogspot.ca/2014/02/windows-schedule-tasks-in-command-line.html
Please take the opportunity to connect and share this video with your friends and family if you find it useful.
No Comments