Detailed usage of at command

Time:2021-11-24

Usage of at command  
At
Lists scheduled commands or scheduled commands and programs that run on the computer at the specified time and date. The schedule service must be running to use   at   Command.
at [\\computername] [[id] [/delete] | /delete [/yes]]
at [\\computername] time [/interactive] [/every:date[,…]| /next:date[,…]] command 
parameter
nothing
If used without parameters, then   at   Lists the scheduled commands.
\\computername
Specify the remote computer. If this parameter is omitted, the command is scheduled on the local computer.
id
Specifies the ID assigned to the scheduled command.  
/delete
Cancels a scheduled command. If omitted   ID, all scheduled commands in the computer will be cancelled.
/yes
When a scheduled event is deleted, a positive answer is forced to the query of the system.
time
Specifies when to run the command. Time in   twenty-four   Hour marker (00:00)   [midnight]   reach   23:59) is expressed as hour: minute.
/interactive
Allows a job to interact with the desktop of the user logged in when the job runs.
/every:date[,…]
Run the command on the specified day of each week or month (for example, every Thursday, or the third day of each month). take   date   Specifies one or more days of the week   (m, t, W, th, F, s, Su), or one or more days of the month (use)   one   reach   thirty-one   Number). Separate multiple date items with commas. If omitted   Date, which is assumed to be the current date of the month.
/next:date[,…]
When the next day (for example, next Thursday) repeats, running the specified command will   date   Specifies one or more days of the week   (m, t, W, th, F, s, Su), or one or more days of the month (use)   one   reach   thirty-one   Number). Separate multiple date items with commas. If omitted   Date, which is assumed to be the current date of the month.
command
Specify the to run   Windows   two thousand   Commands, programs (. Exe)   or  . com   File) or batch program (. Bat)   or  . cmd   File). When the command requires a path as an argument, use an absolute path, that is, the entire path starting from the drive letter. If the command is on a remote computer, specify the name of the server and share   UNC   Symbol, not the remote drive letter. If the command is not executable   (.exe)   File, the command must be preceded by   cmd  / c. For example:
cmd /c dir > c:\test.out