Use this when the automation platform starts jobs on a schedule.
Scheduler
A scheduler in automation architecture starts jobs at defined times or intervals and tracks missed or overlapping runs, as part of the controller or as an external service like cron.
1. Schedulers trigger jobs at times/intervals.
2. Handle time zones, DST, overlap.
3. Use locks.
4. Alert on missed runs.
5. Document schedules.
schedule → trigger → job
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as implicit defaults, hidden dependencies, duplicate dispatch, worker drift, timeout without cancellation, retries against non-idempotent operations and confusing control-plane completion with target convergence, choosing the cases most relevant to queue/timer evaluation, worker dispatch, clock/timezone, leases and ensuring scheduled intent maps to one bounded execution.
Step 2 Common mistakes Narrow the fault
- Overlapping runs when a job takes longer than its interval.
- Schedules in local time breaking at DST changes.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The scheduler starts jobs at defined times or intervals.
- Overlapping and missed runs must be handled explicitly.
- Its time zone decides when jobs really run.
systemctl list-timers— timers- Scheduler job list — schedules
- Missed/overlapping run detection — reliability
ReferenceWhy it matters1 section · depth on demand
What it is
A scheduler starts jobs at set times or intervals: cron, systemd timers, Windows Task Scheduler, or the scheduler in Rundeck/AWX/CI. It must handle time zones, overlapping runs and missed runs explicitly.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A scheduler starts jobs at defined times or intervals and keeps track of whether they ran. It may be simple (cron, systemd timers, Windows Task Scheduler) or part of an automation platform (AWX schedules, Rundeck, Jenkins cron triggers, Kubernetes CronJobs).
Scheduler responsibilities and what to check:
| Responsibility | Check |
|---|---|
| Start on time | Time zone and DST behaviour |
| Prevent overlap | Concurrency policy or locking |
| Catch up after downtime | Missed-run behaviour |
| Report | Success/failure notifications |
| High availability | One active scheduler in a cluster |
Centralising schedules in one platform makes them visible; scattered cron jobs on many servers are easy to forget and hard to audit.
Example
# cron: 02:30 every day
30 2 * * * /opt/scripts/backup.sh >> /var/log/backup.log 2>&1
systemctl list-timers
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Architecture > Scheduler. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For queue/timer evaluation, worker dispatch, clock/timezone, leases and ensuring scheduled intent maps to one bounded execution, prefer typed fields and stable IDs over human presentation text.