SCHTASKS /CREATE
Creates scheduled tasks.
schtasks /create [/s System [/u [Domain\]User [/p [Password]]]] [/ru [Domain\]UserName [rp Password]] /tn TaskName /tr TaskToRun /sc ScheduleType [/mo Modifier] [/d Day] [/i IdleTime] [/st StartTime] [/m Month [, Month [...]]] [/sd StartDate] [/ed EndDate] [/ri RunInterval] [{/et EndTime | /du Duration} [/k]] [/it | /np] [/z] [/f] [/xml XMLFile]
Get Active Directory® Administrator's Pocket Consultant now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.