|
|
1.1 root 1: .TH AT 1 "18 January 1983"
2: .UC 4
3: .SH NAME
4: at \- execute commands at a later time
5: .SH SYNOPSIS
6: .B at
7: time
8: [
9: day
10: ]
11: [
12: file
13: ]
14: .SH DESCRIPTION
15: .I At
16: squirrels away a copy of the named
17: .I file
18: (standard input default)
19: to be used as input to
20: .IR sh (1)
21: (or
22: .IR csh (1)
23: if you normally use it)
24: at a specified later time.
25: A
26: .I cd
27: command to the current directory is inserted
28: at the beginning,
29: followed by assignments to all environment variables (excepting the
30: variable TERM, which is useless in this context.)
31: When the script is run, it uses the user and group ID
32: of the creator of the copy file.
33: .PP
34: The
35: .I time
36: is 1 to 4 digits, with an optional following
37: `A', `P', `N' or `M' for
38: AM, PM, noon or midnight.
39: One and two digit numbers are taken to be hours, three and four digits
40: to be hours and minutes.
41: If no letters follow the digits, a 24 hour clock time is understood.
42: .PP
43: The optional
44: .I day
45: is either
46: (1) a month name followed by a day number,
47: or
48: (2) a day of the week; if the word `week' follows
49: invocation is moved seven days further off.
50: Names of months and days may be recognizably truncated.
51: Examples of legitimate commands are
52: .IP
53: at 8am jan 24
54: .br
55: at 1530 fr week
56: .PP
57: .I At
58: programs are executed by periodic execution
59: of the command
60: .I /usr/lib/atrun
61: from
62: .IR cron (8).
63: The granularity of
64: .I at
65: depends upon how often
66: .I atrun
67: is executed.
68: .PP
69: Standard output or error output is lost unless redirected.
70: .SH FILES
71: .ta 2i
72: /usr/lib/atrun executor (run by
73: .IR cron (8)).
74: .sp
75: in /usr/spool/at:
76: .ta .5i 2i
77: .br
78: \& yy.ddd.hhhh.* activity for year yy, day dd, hour hhhh.
79: .br
80: \& lasttimedone last \fIhhhh\fR
81: .br
82: \& past activities in progress
83: .SH "SEE ALSO"
84: calendar(1),
85: pwd(1),
86: sleep(1),
87: cron(8)
88: .SH DIAGNOSTICS
89: Complains about various syntax errors and times out of range.
90: .SH BUGS
91: Due to the granularity of the execution of
92: .I /usr/lib/atrun,
93: there may be bugs in scheduling things almost
94: exactly 24 hours into the future.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.