Name

at [man page] - queue, examine or delete jobs for later execution

Synopsis

at     [-V] [-q queue] [-f file] [-mldbv] TIME
at -c job [job...]
atq [-V] [-q queue]
atrm [-V] job [job...]
batch

Frequently used options

-m      Send mail to the user when the job has
completed even if there was no output.
-f file Reads the job from file rather than standard input.
-l Is an alias for atq.

Examples

In this example the at command will run a job as specified in a commands.txt file in one minute time from now:

at now + 1 minute -f commands.txt 
at next minute -f commands.txt 

run job one minute from now
Run a job listed in a commands.txt file in 10 hours time from now:

at now + 10 hours -f commands.txt 

run job ten hours from now
Run a job listed in a commands.txt file on 27 September at 20:30:

at 2030 September 27 -f commands.txt 

run job on the specific date
Run a job listed in a commands.txt file on following Sunday at 7 AM:

at 7pm Sunday -f commands.txt 

run job on the specific day
Run a job listed in a commands.txt file next week:

at next week -f  commands.txt 

run job next week

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: