The default is the current time is /ST is not specified. For example: C:\Windows\System32\calc.exe.Ī value that specifies the start time to run the task. The valid range is 1 - 999 minutes.Ī value that specifies a name which uniquely identifies the scheduled task.Ī value that specifies the path and file name of the task to be run at the scheduled time. The wildcard character (*) specifies all months.Ī value that specifies the amount of idle time to wait before running a scheduled ONIDLE task. Valid values are: JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, and DEC. The wildcard character (*) specifies all days.Ī value that specifies months of the year. Valid values are: MON, TUE, WED, THU, FRI, SAT, SUN and for MONTHLY schedules 1 - 31 (days of the month). MONTHLY: 1 - 12, or FIRST, SECOND, THIRD, FOURTH, LAST, and LASTDAY.Ī value that specifies the day of the week to run the task.Valid values are: MINUTE, HOURLY, DAILY, WEEKLY, MONTHLY, ONCE, ONSTART, ONLOGON, ONIDLE, and ONEVENT.Ī value that refines the schedule type to allow for finer control over the schedule recurrence. This parameter must be combined with either /RU or the /XML switch.Ī value that specifies the schedule frequency. This password is ignored for the system account. To prompt for the password, the value must be either "*" or no value. For Task Scheduler 2.0 tasks, "NT AUTHORITY\LOCALSERVICE", and "NT AUTHORITY\NETWORKSERVICE" are also valid values.Ī value that specifies the password for the user specified with the /RU parameter. For the system account, valid values are "", "NT AUTHORITY\SYSTEM", or "SYSTEM". If omitted, Schtasks.exe prompts the user for input.Ī value that specifies the user context under which the task runs. If omitted, the system parameter defaults to the local computer.Ī value that specifies the user context under which Schtasks.exe should run.Ī value that specifies the password for a given user context. ] Ī value that specifies the remote computer to connect to. The following syntax is used to create a task on the local or remote computer. Running Schtasks.exe without arguments displays the status and next run time for each registered task.įor more information on Task Scheduler, see this introduction: Task Scheduler for developers. Enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote computer.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |