At


From Linuxconfig.org

Jump to: navigation, search

.. back to the list of Linux Commands

Name

at - queue, examine or delete jobs for later execution

Synopsis - man page

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

Run job listed in commands.txt file in one minute from now:

at now + 1 minute -f commands.txt
at next minute -f commands.txt
Image:at01.gif

Run job listed in commands.txt file in 10 hours from now:

at now + 10 hours -f commands.txt
Image:at02.gif

Run job listed in commands.txt file on 27 September at 20:30:

at 2030 September 27 -f commands.txt
Image:at03.gif

Run job listed in commands.txt file on following Sunday at 7 AM:

at 7pm Sunday -f commands.txt
Image:at04.gif

Run job listed in commands.txt file next week:

at next week -f  commands.txt
Image:at05.gif

.. back to the list of Linux Commands

Personal tools
Linux Commands