|
|
1.1 root 1: .TH AT 1
2: .CT 1 time_man
3: .SH NAME
4: at \(mi execute commands at a later time
5: .SH SYNOPSIS
6: .B at
7: [
8: .B -r
9: ]
10: .I time
11: [
12: .I day
13: ]
14: [
15: .I file
16: ]
17: .PP
18: .B at -l
19: .SH DESCRIPTION
20: .I At
21: squirrels away a copy of the named
22: .I file
23: (standard input default)
24: to be used as input to
25: .IR sh (1)
26: at a specified later time.
27: A
28: .I cd
29: command to the current directory is inserted
30: at the beginning,
31: followed by assignments to all environment variables.
32: When the script is run, it uses the userid and groupid
33: of the creator of the copy.
34: .PP
35: The
36: .I time
37: is 1 to 4 digits, with an optional following
38: .LR A ,
39: .LR P ,
40: .L N
41: or
42: .L M
43: for
44: AM, PM, noon or midnight.
45: One and two digit numbers are taken to be hours, three and four digits
46: to be hours and minutes.
47: If no letters follow the digits, a 24 hour clock time is understood.
48: .PP
49: The optional
50: .I day
51: is either a month name followed by a day number,
52: or a day of the week; if the word
53: .L week
54: follows, invocation is moved seven days further off.
55: Names of months and days may be recognizably truncated.
56: A year number, spelled out in full, may follow the month.
57: .PP
58: The options are
59: .TP
60: .B -r
61: Remove the specified activity.
62: .TP
63: .B -l
64: List all activities scheduled for this user.
65: .PP
66: .I At
67: programs are executed by periodic execution
68: of
69: .F /usr/lib/atrun
70: from
71: .IR cron (8).
72: The granularity of
73: .I at
74: depends upon how often
75: .I atrun
76: is executed.
77: .PP
78: The standard output and standard error files are lost unless redirected.
79: .SH EXAMPLES
80: .EX
81: at 0800 dec 24
82: echo ho ho ho | mail claus
83: .EE
84: .TP
85: .L
86: at -r `at -l`
87: Remove a scheduled activity.
88: .SH FILES
89: .TF /usr/spool/at/yy.ddd.hhmm
90: .TP
91: .F /usr/lib/atrun
92: .TP
93: .BI /usr/spool/at/ yy . ddd . hhmm\fP.*
94: activity for year, day, hour
95: .TP
96: .F /usr/spool/at/lasttimedone
97: last
98: .I hhmm
99: .TP
100: .F /usr/spool/at/past
101: activities in progress
102: .SH "SEE ALSO"
103: .IR calendar (1),
104: .IR pwd (1),
105: .IR sleep (1),
106: .IR cron (8)
107: .SH BUGS
108: Due to the granularity of the execution of
109: .I atrun,
110: there may be bugs in scheduling things almost
111: 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.