at
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
at [2012/03/23 19:45] – created k2patel | at [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== at (linux) ====== | ====== at (linux) ====== | ||
- | In Unix-like computer operating systems, the at command is used to schedule commands to be executed once, at a particular time in the future. | + | In Unix-like computer operating systems, the at command is used to schedule commands to be executed once, \\ |
+ | at a particular time in the future. | ||
- | More precisely, it reads a series of commands from standard input and collects them into one " | + | More precisely, it reads a series of commands from standard input and collects them into one " |
+ | is carried out at a later date. The at-job inherits the current environment, | ||
+ | same working directory and with the same environment variables set as when it was scheduled. | ||
- | It differs from cron which is used for recurring executions (e.g. once an hour, every Tuesday, January 1 every year). As with cron, many Unix systems allow the administrator to restrict access to the at command. | + | It differs from cron which is used for recurring executions (e.g. once an hour, every Tuesday, January 1 every year). |
+ | As with cron, many Unix systems allow the administrator to restrict access to the at command. | ||
- | at can be made to mail a user when done carrying out a scheduled job of theirs, can use more than one job queue, and can read a list of jobs to carry out from a file instead of standard input. A sample command to compile a C program at 11:45 a. m. on January 31st and e-mail the results (STDOUT and STDERR) to your user ID would be: | + | at can be made to mail a user when done carrying out a scheduled job of theirs, can use more than one job queue, |
+ | and can read a list of jobs to carry out from a file instead of standard input. | ||
+ | A sample command to compile a C program at 11:45 a. m. on January 31st and e-mail the results (STDOUT and STDERR) to your user ID would be: | ||
<code bash> | <code bash> |
at.1332531917.txt.gz · Last modified: 2020/08/10 02:28 (external edit)