Pcornel
Automation · Automation Fundamentals

Scheduled Automation

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

Back to the Topic

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 timers
  • crontab -l — cron jobs
  • Get-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

BoundaryHealthy evidenceSuspicious evidence
Intent / inputsOwner, scope and authoritative inputs are explicit and versioned where applicableHidden defaults, stale inventory or competing sources of truth
Decision / executionPlan or decision is explainable and actions are bounded per targetBlind fan-out, implicit assumptions or success based only on executor status
State / verificationTarget is re-observed and acceptance criteria prove the intended outcomeNo read-back, perpetual drift, partial side effects or unresolved exceptions
Recovery / evidenceRetry, rollback or escalation behavior is defined and auditableUnknown 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

Confirmation

Confirm action

Continue?