The AT command use to schedules commands and programs.
The AT command schedules commands and programs in local or remote computer to run at specified time and date. The Schedule service must be running to use the AT command.
Syntax
AT
Options
\\computername | Specifies a remote computer. Commands shall be scheduled on the local computer if this parameter is omitted. |
id | An identification number assigned to a scheduled command. |
/delete | Cancels a scheduled command. If id is omitted, all the scheduled commands on the computer are canceled. |
/yes | Used with cancel all jobs command when no further confirmation is desired. |
time | Specifies the time when command is to run. |
/interactive | Allows the job to interact with the desktop of the user who is logged on at the time the job runs. |
/every:date | Runs the command on each specified day(s) of the week or month. If date is omitted, the current day of the month is assumed. Monday = m Tuesday = t Wednesday = w Thursday = th Friday = f Saturday = s Sunday = su |
/next:date | Runs the specified command on the next occurrence of the day (for example, next Thursday). If date is omitted, the current day of the month is assumed. |
command | Is the Windows NT command, or batch program to be run. |
Note: The Task Scheduler service must be running, and you must be logged on as a member of the local Administrators group. When you use at command to create tasks, you must configure the tasks so that it could run in the same user account you configured.
Supported OS: Windows 98, Windows XP, Windows 7, Windows Vista, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008 R2 or Windows Server 2008
Example
this command will create a schedule task to run command at 15:00
At 15:00 “cmd”
This command will display a list of schedule task configured locally.
AT