Scheduled Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5166
Answer
Scheduled Automation executes defined work at planned times or intervals and must account for overlap, missed runs, time zones, dependencies and catch-up semantics.
Remember
- Job started on schedule ≠ job completed successfully.
- Cron/scheduler success ≠ target outcome; it may only prove the process was launched.
- Missed run ≠ always run immediately later; catch-up behavior depends on task semantics.
- Same clock time ≠ same instant across time zones and daylight-saving transitions.
First checks
systemctl list-timers— systemd timerscrontab -l— cron jobsGet-ScheduledTask | ? State -ne Disabled— Windows tasks
Verify in this order
schedule → job → log → alert on failure
Where it usually breaks
A scheduler proves a launch decision occurred at a time; it does not prove the task completed, was still relevant or changed the intended target state.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Scheduled Automation automation boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Intent / inputs | Owner, scope and authoritative inputs are explicit and versioned where applicable | Hidden defaults, stale inventory or competing sources of truth |
| Decision / execution | Plan or decision is explainable and actions are bounded per target | Blind fan-out, implicit assumptions or success based only on executor status |
| State / verification | Target is re-observed and acceptance criteria prove the intended outcome | No read-back, perpetual drift, partial side effects or unresolved exceptions |
| Recovery / evidence | Retry, rollback or escalation behavior is defined and auditable | Unknown partial completion, unsafe retry or evidence lost during remediation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5166