Linux Survival Basics
Read-onlyList systemd Timers and Last Runs
You need timer names, last run, next run, and unit linkage.
Command
systemctl list-timers --all --no-pager
Before you run this
System impact: Read-only. Low when scoped to the shown target.
When not to use it: Do not start or enable timers before checking the unit and calendar.
Expected output
Timer table with NEXT, LEFT, LAST, PASSED, UNIT, and ACTIVATES columns.
System impact
Read-only. Nothing changes. The command reads current state and prints diagnostic evidence.
Recovery / rollback: no state is changed.
When to use it
Use when a scheduled systemd task did not run.
When not to use it
Do not start or enable timers before checking the unit and calendar.
Common misread
Do not start or enable timers before checking the unit and calendar.
Example run
Commands shown
These are the commands shown for inspection. Treat them as an example, not proof that your system will behave identically.
systemctl list-timers --all --no-pagersystemctl list-timers --all --no-pager
next steps
Related commands
List Upcoming systemd Timers
Cron is not the only scheduler on modern Linux servers.
systemctl list-timers --all --no-pager
Map systemd Timers to Services
A timer is only half the scheduled job. The service is the payload.
systemctl list-timers --all --no-pager --plain | awk 'NR==1 || /\.timer/ {print $(NF-1), "->", $NF}'
Check apt Daily Timers
Automatic apt timers can explain locks that seem mysterious.
systemctl list-timers apt-daily* --no-pager
Check logrotate Timer Status
The timer may be disabled, missed, or failing.
systemctl status logrotate.timer --no-pager
Compare Failure Output With the Effective Unit
Put the failed step next to the unit config that created it.
systemctl status app-worker --no-pager --lines=50 && systemctl cat app-worker
next diagnostic step
Where to go from this command
- Related problem hub Use this command as part of the repair path.
Study mapping
Use this as independent command practice: read the notes, predict the output, then compare it with the example before using a real shell.
Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.