Displays a listing of scheduled tasks (command, script, or program) and schedules the execution of new tasks.
at [\\computername] [[id] [/delete] | /delete [/yes]] at [\\computername] time [/interactive] [/every:date[,...] | /next:date[,...]] command
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
None | Displays a listing of all scheduled tasks. |
[\\computername] | Specifies a remote computer where the task is to be executed. If omitted, the command is scheduled locally. |
Id | Identifies the ID number assigned to a scheduled command. |
[\delete] | Terminates a scheduled command. If id is not present, all scheduled tasks are terminated. |
[\yes] | Requires a confirmation before terminating a scheduled task. |
time | Identifies the time to execute the task expressed as hh:mm on a 24−hour clock. |
[\interactive] | Permits interaction with the desktop and the logged on user. |
\every:date[,…] | Establishes a schedule for task execution based on specified days of the week or month. The date is specified as M, T, W, Th, F, S, Su or 1–31. Multiple dates are separated by commas. If omitted, the schedule is set to the current day. |
\next:date[,…] | Runs the task on the next occurrence of the day (M, T, W, Th, F, S, Su) or date (1–31). Multiple dates are separated by commas. If omitted, the schedule is set to the current day. |
command | Specifies the task to execute. |