At command usage
At
Lists scheduled commands or scheduled commands and programs that run on the computer at the specified time and date. You must be running the "scheduler" Service to use the at command.
At [\ computername] [[id] [/delete] |/delete [/yes]
At [\ computername] time [/interactive] [/every: date [,...] |/next: date [,...] command
Parameters
None
If you use it without parameters, at lists the scheduled commands.
\ Computername
Specify a remote computer. If this parameter is omitted, the command is scheduled on the local computer.
Id
The identifier assigned to the scheduled command.
/Delete
Cancels scheduled commands. If the id is omitted, all scheduled commands in the computer are canceled.
/Yes
When you delete a scheduled event, make a positive response to the system query.
Time
Specifies the time when the command is run. The time is represented as hour: minute by 24 hours ([Midnight].
/Interactive
Allows a job to interact with the user's desktop when the job is running.
/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. Specify date as one or more days of the week (M, T, W, Th, F, S, Su ), or one or more days of the month (using numbers 1 to 31 ). Multiple date items are separated by commas. If date is omitted, it is assumed to be the current date of the month.
/Next: date [,...]
When the next day (for example, next Thursday) is repeated, run the specified command to specify date as the day of the week or multiple days (M, T, W, Th, F, S, su), or one or more days of the month (using a number ranging from 1 to 31 ). Multiple date items are separated by commas. If date is omitted, it is assumed to be the current date of the month.
Command
Specify the Windows 2000 command line program (.exe or. com file) or batch processing program (. bat or. cmd file) to run ). When the Command needs a path as a parameter, use the absolute path, that is, the entire path starting from the drive letter. If the command is on a remote computer, specify the UNC symbol for the server and shared name, instead of the remote drive letter. If the command is not an executable (.exe) file, you must add cmd/c before the command. For example:
Cmd/c dir> c: \ test. out
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.