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
-
-ffile Execute commands listed in
file.-
-m Send mail to user after job is completed (if an MTA such as sendmail is configured to run).
-
-qqueuename Schedule the job in
queuename. Values forqueuenameare the lowercase lettersathroughl. Queueais the default queue foratjobs. Queuebis the queue forbatchjobs. 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 modifieramorpmis added,timeis based on a 12-hour clock.-
midnight|noon|now|teatime Use any one of these keywords in place of a numeric time.
nowmust be followed by anincrement.teatimeis 4:00 P.M.
Date
-
month num[year] |MM/DD/YY|DD.MM.YY monthis one of the 12 months, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access