Execute commands entered on standard input at a specified time
and optional date
. (See also batch
.) End input with EOF
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, as a day of the week, or as a special keyword. increment
is a positive integer followed by a keyword. See the following lists for details.
Use the C shell to execute the job. Solaris only.
Execute commands listed in file
Use the Korn shell to execute the job. Solaris only.
Send mail to user after job is completed.
Schedule the job in queuename
. Values for queuename
are the lowercase letters
is the default queue for at
is the queue for batch
is the queue for cron
jobs. Solaris only.
Use the Bourne shell to execute the job. Solaris only.
Run the job at time
, which is in the same format as allowed by touch
. Solaris only.
Report all jobs that are scheduled for the invoking user or, if jobs
are specified, report only for those. See also atq
Remove specified jobs
that were previously scheduled. To remove a job, you must be a privileged user or the owner of the job. Use
first to see the list of scheduled jobs. See also atrm
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
, or hhmm
; e.g., valid times are 5, 5:30, 0530, 19:45. If modifier
is added, time
is based on a 12-hour clock. If the keyword
is added, times correspond to Greenwich Mean Time (UTC).
Use any one of these keywords in place of a numeric time.
must be followed by an increment
- month num
is one of the 12 months, spelled out or abbreviated to their first three letters; num
is the calendar day of the month; year
is the four-digit year. If the given month
occurs before the current month, at
schedules that month next year.
One of the seven days of the week, spelled out or abbreviated to their first three letters.
Indicate the current day or the next day. If date
is omitted, at
when the specified time
occurs later than the current time; otherwise, at
Supply a numeric increment if you want to specify an execution time or day relative
to the current time. The number should precede any of the keywords
(or their plural forms). The keyword
can be used as a synonym of
Note that the first two commands are equivalent:
at 1945 pm December 9
at 7:45pm Dec 9
at 3 am Saturday
at now + 5 hours
at noon next day