at — a one-time scheduled job
cheat sheet · Linux · at https://lab.dimsanych.ru/en/wiki/at/Cheat sheet
-
echo "command" | at 03:00once at 3:00 -
at now + 30 minutesin 30 minutes -
at -f script.sh 02:00a script file -
atqshow the job queue -
at -c 5show the contents of job #5 -
atrm 5remove job #5 - output goes by mail — redirect it yourself: "cmd > /tmp/out 2>&1"
Options
Below are the main flags of at, atq, atrm; the full list is in man at.