at is the command interface to the
at daemon. It submits commands to be executed at a future time, lists queue
status, and controls the daemon.
Options that refer to specific jobs interpret the operands as job ids, otherwise if the --time option is not specified then
the operands are interpreted as the start time. If time is not specified then the command is scheduled to be executed
immediately, subject to the queue constraints.
If --time is specified then the first non-option argument is the command to be executed, otherwise the command to be
executed is read from the standard input. The command job id is written to the standard output after the command has been
successfully submitted to the daemon.
(
NOTE: the
nroff(1) style syntax is taken from
X/Open). The
queue definition file defines queue attributes, one queue per line. Lines starting with
# are comments. The format of a
definition line is:
name.[
numberattribute]..., where
name is a single letter queue name and
number
applies to the following single character
attribute. If
number is omitted then it defaults to
1. The
default queues are:
a.4j1n2u,
b.2j2n90w2u,
c.h8j2u60w. Per-queue user access may be specified by appending a
space separated user names after the queue attributes. If the first list element is
+ then the list specifies users allowed
to use the queue; othewise it specifies users denied access to the queue. If no user list is specified then queue access is
controlled by the global files described in
QUEUE ACCESS below. The attributes are:
- h
- The job environment is initialized to contain at least the HOME, LOGNAME, USER, PATH
and SHELL of the submitting user. The jobs are also run in the user HOME directory.
- j
- The total number of running jobs for all queues is limited to number.
- l
- No new jobs will be run until the load average is smaller than number. This only works on
systems where the load average is easily determined.
- n
- The default nice(1) priority is set to number.
- u
- The per-user running job limit is set to number.
- w
- At least number seconds will elapse before the next job from the queue is run.