Name
at
Synopsis
at [options
] [time
] [date
] [+increment
]
Executes commands entered on standard input at a specified
time
and optional
date
. (See also batch
and crontab
.) End input with EOF.
time
can be formed either as a numeric
hour (with optional minutes and modifiers) or as a keyword.
date
can be formed either as a month and
date, a day of the week, or a special keyword.
increment
is a positive integer followed
by a keyword. See the following lists for details.
at
won’t run until you first
enable atrun
by uncommenting its line in
/etc/crontab
.
Options
-
-f
file
Execute commands listed in
file
.-
-m
Send mail to user after job is completed (if an MTA such as sendmail is configured to run).
-
-q
queuename
Schedule the job in
queuename
. Values forqueuename
are the lowercase lettersa
throughl
. Queuea
is the default queue forat
jobs. Queueb
is the queue forbatch
jobs. Queues with higher letters run with increased niceness (receive less priority).
Time
-
hh
:mm
[modifiers
] Hours can have one or two digits (a 24-hour clock is assumed by default); optional minutes can be given as one or two digits; the colon can be omitted if the format is
h
,hh
, orhhmm
; e.g., valid times are 5, 5:30, 0530, and 19:45. If modifieram
orpm
is added,time
is based on a 12-hour clock.-
midnight
|noon
|now
|teatime
Use any one of these keywords in place of a numeric time.
now
must be followed by anincrement
.teatime
is 4:00 P.M.
Date
-
month num
[year
] |MM
/
DD
/
YY
|DD
.MM
.YY
month
is one of the 12 months, ...
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.