Pcornel
Automation · Scheduling

Missed Runs

Cheat sheet · https://pcornel.dk/topic.php?topic=5356

Back to the Topic

Answer

Missed runs happen when a scheduler or host is down at the scheduled time. Decide whether to catch up, as with systemd Persistent=true or Task Scheduler's 'run as soon as possible', or skip.

Remember

  • Decide whether to catch up or skip missed runs.
  • systemd: Persistent=true.
  • Task Scheduler: run as soon as possible after a missed start.

First checks

  • Persistent=true (systemd) / anacron — catch up missed runs
  • Missed run alerts (dead man's switch, e.g. Healthchecks) — monitoring
  • Last success timestamp — freshness

Verify in this order

expected run → no check-in → alert

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5356

Confirmation

Confirm action

Continue?