Where to start First steps track · 15 stages
Linux Labs

at — a one-time scheduled job

cheat sheet · Linux · at https://lab.dimsanych.ru/en/wiki/at/

Cheat sheet

  • echo "command" | at 03:00 once at 3:00
  • at now + 30 minutes in 30 minutes
  • at -f script.sh 02:00 a script file
  • atq show the job queue
  • at -c 5 show the contents of job #5
  • atrm 5 remove 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.

Loading…