From LedHed's Wiki
(Created page with "The at command is kind of like a scheduled task or cron job. Category:Windows") |
|||
Line 1: | Line 1: | ||
The at command is kind of like a scheduled task or cron job. | The at command is kind of like a scheduled task or cron job. | ||
+ | Usage: | ||
+ | at time command | ||
+ | |||
+ | Example: | ||
+ | at 23:00 chkdsk c: /f | ||
+ | This will run a disk check at 11:00pm | ||
+ | |||
+ | |||
+ | |||
+ | == Scheduling commands on Remote Systems == | ||
+ | at \\RemoteHost 12:00 del c:\log.txt | ||
+ | This will delete c:\log.txt at noon. | ||
+ | |||
+ | |||
+ | |||
+ | == Viewing Job Schedule == | ||
+ | Just type at. | ||
+ | at | ||
+ | |||
+ | |||
+ | |||
+ | == Deleting Scheduled Commands == | ||
+ | at ID /delete | ||
+ | Where ID is the job number, which can be obtained by running the at command as stated above. | ||
Revision as of 07:00, 15 May 2013
The at command is kind of like a scheduled task or cron job.
Usage:
at time command
Example:
at 23:00 chkdsk c: /f
This will run a disk check at 11:00pm
Scheduling commands on Remote Systems
at \\RemoteHost 12:00 del c:\log.txt
This will delete c:\log.txt at noon.
Viewing Job Schedule
Just type at.
at
Deleting Scheduled Commands
at ID /delete
Where ID is the job number, which can be obtained by running the at command as stated above.