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.3 2003/06/05 17:13:32 eseidel Exp $
36 .Nm at, batch, atq, atrm
37 .Nd queue, examine, or delete jobs for later execution
63 are all disabled by default on Mac OS X.
64 Each of these commands depend on the execution of
66 which has been disabled due to power management concerns.
67 Those who would like to use these commands, must first re-enable
68 .Nm /usr/libexec/atrun
69 by removing the leading '#' from the line
71 #*/5 * * * * root /usr/libexec/atrun
76 must be edited by root.
82 utilities read commands from the standard input or a specified file
83 which are to be executed at a later time, using
86 The functions of the commands are as follows:
87 .Bl -tag -width indent
89 Executes commands at a specified time.
91 Lists the user's pending jobs, unless the user is
92 the superuser. In that case, everybody's jobs are
97 Executes commands when system load levels drop below a user-specifed threshold.
98 The load threshold for batch jobs is specifed
99 as an argument when executing
107 the working directory, environment (except for the variables
113 and the umask are retained from the time of invocation. The user
114 will be mailed the standard output and standard error from
115 his commands if any output is generated. If
119 shell, the owner of the login shell will receive the mail.
121 .Bl -tag -width indent
122 The available options are as follows:
124 Use the specified queue. A queue designation consists
125 of a single letter; valid queue designation range from
131 queue is the default, and
133 is the batch queue. Queues with higher letters run with
134 increased niceness. If
136 is given a specific queue, it will only show jobs pending
139 Send mail to the user when the job has completed, even if
144 rather than the standard input.
146 Shows completed but not yet deleted jobs in the queue.
148 .Sh TIME SPECIFICATION
150 allows some moderately complex time specifications.
151 It accepts times of the form
155 to run a job at a specific time of day. If
156 that time is already passed, the next day is assumed.
162 (4PM) and you can give a time of day suffixed with
166 for running in the morning or the evening. You can
167 also specify the date on which the job will be run
168 by giving a date in the form
172 or giving a date of the form
177 You can also give times like
179 .Ar count time-units ,
180 where the time units can be
181 .Nm minutes, hours, days,
184 You can suffix the time with
186 to run the job today, or
188 to run the job tomorrow.
190 For example, to run a job at 4PM three days from now, you
191 would specify a time of
193 To run a job at 10:00AM on on July 31, you would specify
196 Finally, to run a job at 1AM tomorrow, you would specify
200 .Bl -tag -width /var/at/lockfile -compact
202 Directory containing job files
204 Directory containing output spool files
205 .It Pa /var/at/lockfile
206 Job-creation lock file.
216 Thomas Koenig, ig25@rz.uni-karlsruhe.de
219 Traditional access control to
231 is not available or corrupted, or if the user is not
232 logged in at the time
234 is invoked, the mail is sent to the userid found in the
237 If that is undefined or empty, the current userid is assumed.