System Administration Guide: Advanced Administration

Description of the at Command

Submitting an at job file involves these steps:

  1. Invoking the at utility and specifying a command execution time.

  2. Typing a command or script to execute later.

    Note –

    If output from this command or script is important, be sure to direct the output to a file for later examination.

For example, the following at job removes core files from the user account smith near midnight on the last day of July.

$ at 11:45pm July 31
at> rm /home/smith/*core*
at> Press Control-d
commands will be executed using /bin/csh
job 933486300.a at Tue Jul 31 23:45:00 2004