1AT(1)                       General Commands Manual                      AT(1)
2
3
4

NAME

6       at - execute commands at a later time
7

SYNOPSIS

9       at time [ day ] [ file ]
10

DESCRIPTION

12       At  squirrels away a copy of the named file (standard input default) to
13       be used as input to sh(1) at a specified later time.  A  cd(1)  command
14       to  the  current  directory  is  inserted at the beginning, followed by
15       assignments to all environment variables.  When the script is  run,  it
16       uses the user and group ID of the creator of the copy file.
17
18       The  time is 1 to 4 digits, with an optional following `A', `P', `N' or
19       `M' for AM, PM, noon or midnight.  One and two digit numbers are  taken
20       to be hours, three and four digits to be hours and minutes.  If no let‐
21       ters follow the digits, a 24 hour clock time is understood.
22
23       The optional day is either (1) a month name followed by a  day  number,
24       or  (2)  a  day  of  the week; if the word `week' follows invocation is
25       moved seven days further off.  Names of months and days may  be  recog‐
26       nizably truncated.  Examples of legitimate commands are
27
28              at 8am jan 24
29              at 1530 fr week
30
31       At   programs  are  executed  by  periodic  execution  of  the  command
32       /usr/lib/atrun from cron(8).  The granularity of at  depends  upon  how
33       often atrun is executed.
34
35       Standard output or error output is lost unless redirected.
36

FILES

38       /usr/spool/at/yy.ddd.hhhh.uu
39       activity  to  be performed at hour hhhh of year day ddd of year yy.  uu
40       is a unique number.
41       /usr/spool/at/lasttimedone contains hhhh for last hour of activity.
42       /usr/spool/at/past directory of activities now in progress
43       /usr/lib/atrun program that executes activities that are due
44       pwd(1)
45

SEE ALSO

47       calendar(1), cron(8)
48

DIAGNOSTICS

50       Complains about various syntax errors and times out of range.
51

BUGS

53       Due to the granularity of the execution of /usr/lib/atrun, there may be
54       bugs in scheduling things almost exactly 24 hours into the future.
55
56
57
58                                                                         AT(1)
Impressum