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.5 2005/02/18 00:22:38 lindak 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 (as root) re-enable
71 launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
78 utilities read commands from the standard input or a specified file
79 which are to be executed at a later time, using
82 The functions of the commands are as follows:
83 .Bl -tag -width indent
85 Executes commands at a specified time.
87 Lists the user's pending jobs, unless the user is
88 the superuser. In that case, everybody's jobs are
93 Executes commands when system load levels drop below a user-specifed threshold.
94 The load threshold for batch jobs is specifed
95 as an argument when executing
103 the working directory, environment (except for the variables
109 and the umask are retained from the time of invocation. The user
110 will be mailed the standard output and standard error from
111 his commands if any output is generated. If
115 shell, the owner of the login shell will receive the mail.
117 .Bl -tag -width indent
118 The available options are as follows:
120 Use the specified queue. A queue designation consists
121 of a single letter; valid queue designation range from
127 queue is the default, and
129 is the batch queue. Queues with higher letters run with
130 increased niceness. If
132 is given a specific queue, it will only show jobs pending
135 Send mail to the user when the job has completed, even if
140 rather than the standard input.
142 Shows completed but not yet deleted jobs in the queue.
144 .Sh TIME SPECIFICATION
146 allows some moderately complex time specifications.
147 It accepts times of the form
151 to run a job at a specific time of day. If
152 that time is already passed, the next day is assumed.
158 (4PM) and you can give a time of day suffixed with
162 for running in the morning or the evening. You can
163 also specify the date on which the job will be run
164 by giving a date in the form
168 or giving a date of the form
173 You can also give times like
175 .Ar count time-units ,
176 where the time units can be
177 .Nm minutes, hours, days,
180 You can suffix the time with
182 to run the job today, or
184 to run the job tomorrow.
186 For example, to run a job at 4PM three days from now, you
187 would specify a time of
189 To run a job at 10:00AM on on July 31, you would specify
192 Finally, to run a job at 1AM tomorrow, you would specify
196 .Bl -tag -width /var/at/lockfile -compact
198 Directory containing job files
200 Directory containing output spool files
201 .It Pa /var/at/lockfile
202 Job-creation lock file.
214 Thomas Koenig, ig25@rz.uni-karlsruhe.de
217 Traditional access control to
229 is not available or corrupted, or if the user is not
230 logged in at the time
232 is invoked, the mail is sent to the userid found in the
235 If that is undefined or empty, the current userid is assumed.