Skip to main content

at

Check if atd is running

systemctl status atd.service

Add job

Run command at specified time

at <time spec>
<command>
[...]
<Ctrl + D>
at <time spec> <<END
<command>
[...]
END
echo "<command>" | at <time spec>
Description
<time spec>{ NOW | <time> | <date> | <time> <date> } [{+|-} <period> <unit>]
<time>{ <HH>:<MM> [AM|PM] } [UTC]
<date><month name> <day> [<year>] | MM/DD/[YY]YY | [YY]YY-MM-DD | [NEXT] <day of week> | TODAY | TOMORROW
<month name>JAN | FEB | MAR | APR | MAY | JUN | JUL | AUG | SEP | OCT | NOV | DEC
<day of week>SUN | MON | TUE | WED | THU | FRI | SAT
<unit>MINUTE | HOUR | DAY | WEEK | MONTH | YEAR

Remove job

atrm <job ID>
at {-r|-d} <job ID>

List job

atq
at -l

View job

at -c <job ID>