Create scheduled job

30/05/2014 17:07

#Create task with name MyTaskName to repeat every day at 4:00a.m to run MyCode.exe, start date today(defaul


schtasks /create /sc daily /tn "MyTaskName" /tr "C:\EXE\test\MyCode.exe" /st 04:00


more info on https://technet.microsoft.com/en-us/library/cc725744.aspx#BKMK_days