The at command is used to set a specific command or batch file to execute at a certain time.
Several options are used with the at command. Following is a list of some important options:
| -q | Uses the specified queue. |
| -m | Sends a mail to a user when a job is completed. |
| -f file | Reads a job from a file. |
| -l | Reports all jobs scheduled for the invoking user. It works in the same manner as the atq command. |
The
The following command will create a list of jobs to be executed at 8:00 AM on 22nd August 2004.
at> ls<enter>
at> pwd<enter>
<ctrl> + <d>
The <ctrl> + <d> key combination is used to end the list of commands.
The jobs can be removed from an
- Click here to get free lpic-1 Junior Level Linux Professional (LPIC-1) exam practice questions.
- Download free practice test for lpic Linux Professional exam.
- Click here to get free linux-plus Linux+ exam practice questions.
- Download free practice test for LPI UCP exam.
- Download free practice test for LPI Junior Level Linux Professional-I exam.
- Pass LPI 117-102 - Junior Level Linux Professional-II
- Pass Linux+ in first attampt.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.