Manual Page Result
0
Command: at | Section: 1 | Source: UNIX v10 | File: at.1
AT(1) General Commands Manual AT(1)
NAME
at - execute commands at a later time
SYNOPSIS
at [ -r ] time [ day ] [ file ]
at -l
DESCRIPTION
At squirrels away a copy of the named file (standard input default) to
be used as input to sh(1) at a specified later time. A cd command to
the current directory is inserted at the beginning, followed by assign-
ments to all environment variables. When the script is run, it uses
the userid and groupid of the creator of the copy.
The time is 1 to 4 digits, with an optional following or for AM, PM,
noon or midnight. One and two digit numbers are taken to be hours,
three and four digits to be hours and minutes. If no letters follow
the digits, a 24 hour clock time is understood.
The optional day is either a month name followed by a day number, or a
day of the week; if the word follows, invocation is moved seven days
further off. Names of months and days may be recognizably truncated.
A year number, spelled out in full, may follow the month.
The options are
-r Remove the specified activity.
-l List all activities scheduled for this user.
At programs are executed by periodic execution of from cron(8). The
granularity of at depends upon how often atrun is executed.
The standard output and standard error files are lost unless redi-
rected.
EXAMPLES
at 0800 dec 24
echo ho ho ho | mail claus
at -r `at -l`
Remove a scheduled activity.
FILES
/usr/spool/at/yy.ddd.hhmm.*
activity for year, day, hour
last hhmm
activities in progress
SEE ALSO
calendar(1), pwd(1), sleep(1), cron(8)
BUGS
Due to the granularity of the execution of atrun, there may be bugs in
scheduling things almost exactly 24 hours into the future.
AT(1)