2 .\" Copyright (c) 1993 Christopher G. Demetriou
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. All advertising materials mentioning features or use of this software
14 .\" must display the following acknowledgement:
15 .\" This product includes software developed by Christopher G. Demetriou.
16 .\" 3. The name of the author may not be used to endorse or promote products
17 .\" derived from this software without specific prior written permission
19 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 .\" $Id: at.1,v 1.1.1.1 1999/05/02 04:21:18 wsanchez Exp $
36 .Nm at, batch, atq, atrm
37 .Nd queue, examine, or delete jobs for later execution
63 utilities read commands from the standard input or a specified file
64 which are to be executed at a later time, using
67 The functions of the commands are as follows:
68 .Bl -tag -width indent
70 Executes commands at a specified time.
72 Lists the user's pending jobs, unless the user is
73 the superuser. In that case, everybody's jobs are
78 executes commands when system load levels permit.
79 In other words, it executes the commands when the load
80 average drops below a specified level.
87 the working directory, environment (except for the variables
93 and the umask are retained from the time of invocation. The user
94 will be mailed the standard output and standard error from
95 his commands if any output is generated. If
99 shell, the owner of the login shell will receive the mail.
101 .Bl -tag -width indent
102 The available options are as follows:
104 Use the specified queue. A queue designation consists
105 of a single letter; valid queue designation range from
111 queue is the default, and
113 is the batch queue. Queues with higher letters run with
114 increased niceness. If
116 is given a specific queue, it will only show jobs pending
119 Send mail to the user when the job has completed, even if
124 rather than the standard input.
126 Shows completed but not yet deleted jobs in the queue.
127 .Sh TIME SPECIFICATION
129 allows some moderately complex time specifications.
130 It accepts times of the form
134 to run a job at a specific time of day. If
135 that time is already passed, the next day is assumed.
141 (4PM) and you can give a time of day suffixed with
145 for running in the morning or the evening. You can
146 also specify the date on which the job will be run
147 by giving a date in the form
151 or giving a date of the form
156 You can also give times like
158 .Ar count time-units ,
159 where the time units can be
160 .Nm minutes, hours, days,
163 You can suffix the time with
165 to run the job today, or
167 to run the job tomorrow.
169 For example, to run a job at 4PM three days from now, you
170 would specify a time of
172 To run a job at 10:00AM on on July 31, you would specify
175 Finally, to run a job at 1AM tomorrow, you would specify
179 .Bl -tag -width /var/at/lockfile -compact
181 Directory containing job files
183 Directory containing output spool files
184 .It Pa /var/at/lockfile
185 Job-creation lock file.
195 Thomas Koenig, ig25@rz.uni-karlsruhe.de
198 Traditional access control to
210 is not available or corrupted, or if the user is not
211 logged in at the time
213 is invoked, the mail is sent to the userid found in the
216 If that is undefined or empty, the current userid is assumed.