Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Calendars

Direct answer

Calendars in scheduling define allowed or blocked dates, such as business days, holidays or freeze periods, so jobs only run on suitable days.

When to use this

Use this when jobs should run only on certain days.

First 30 seconds

1. Calendars define when jobs may run: business days, holidays, maintenance windows, freezes.

2. Central calendar.

3. Validate expressions.

4. Communicate.

5. Exceptions documented.

Operational verification

calendar rules → allowed run times

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
calendar-aware automation scheduling
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformcalendar-aware automation scheduling · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when jobs should run only on certain days.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The primary procedure is: Expand the calendar for a bounded date range that includes a timezone or exclusion boundary; compare expected eligible instants with scheduler next-run decisions. Exercise failure-oriented cases such as DST gaps/overlaps, stale holiday calendars, floating times, timezone changes, conflicting include/exclude rules and jobs detached from the expected calendar so the test covers failure cases, not only the happy path.

Step 2 Common mistakes Narrow the fault
  • Holiday calendars not maintained.
Step 3 Where it fails Narrow the fault

Failure analysis for Scheduling → Calendars should follow the path through the components: calendar definition → timezone expansion → recurrence/exclusion evaluation → scheduler eligibility → job dispatch. Tests should include edge cases such as DST gaps/overlaps, stale holiday calendars, floating times, timezone changes, conflicting include/exclude rules and jobs detached from the expected calendar. Recovery should preserve the evaluated instant and calendar version, repair the recurrence/timezone rule, recompute upcoming instances, then verify both an allowed and blocked boundary time.

Evidence references

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.

observation · 1
Key points
  • Calendars define allowed or blocked days.
  • Use them for holidays and change freezes.
  • Keep them updated.
Key checks
  • Business calendar (holidays, maintenance windows) — exceptions
  • systemd-analyze calendar <expr> — validate
  • Blackout periods — change freezes
ReferenceWhy it matters1 section · depth on demand

In depth

Scheduling calendars define which days a job may or may not run: business days only, excluding holidays, change freezes or month-end periods. They keep automation aligned with business rules rather than plain cron intervals.

Calendar useExample
Business daysReports Monday–Friday
Holiday exclusionsNo changes on public holidays
Freeze periodsBlock deployments during year-end
Maintenance windowsPatching only Sunday 01:00–05:00

Most cron implementations have no holiday awareness; use the automation platform's calendars or check a calendar file at the start of the job and exit cleanly if today is excluded.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Calendars in Scheduling is owned at runtime by the scheduler calendar evaluator that combines recurrence, timezone and include/exclude windows into eligible run times. The durable intent is versioned calendar definitions containing DTSTART/DTEND, RRULE/RDATE/EXDATE or platform-equivalent blackout/allow windows. Reliable automation must carry stable identity across the path: calendar ID/version, timezone identifier and schedule/job IDs referencing it. The consumer-visible target is the eligibility decision for a job or workflow at a concrete instant, not the wall-clock label alone. The key invariants are timezone is explicit, DST transitions are deterministic, exclusions override recurring windows as designed, and one instant is not executed twice unless explicitly intended.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Store and review versioned calendar definitions containing DTSTART/DTEND, RRULE/RDATE/EXDATE or platform-equivalent blackout/allow windows; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is calendar ID/version, timezone identifier and schedule/job IDs referencing it.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doccalendar-aware automation scheduling RFC 5545 concepts + scheduler implementation

Authoritative/upstream documentation reviewed for bounded claims in Scheduling > Calendars. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://datatracker.ietf.org/doc/html/rfc5545 · confidence 94%
Embedded reference data

Quick lookup tables

Scheduling → Calendars · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for Scheduling → Calendars.

LayerScheduling → Calendars operational reference
Runtime/ownershipcalendar-aware automation scheduling · the scheduler calendar evaluator that combines recurrence, timezone and include/exclude windows into eligible run times
Persistent intentversioned calendar definitions containing DTSTART/DTEND, RRULE/RDATE/EXDATE or platform-equivalent blackout/allow windows
VerificationExpand the calendar for a bounded date range that includes a timezone or exclusion boundary; compare expected eligible instants with scheduler next-run decisions.
Expected interpretationEligible and blocked instants match the reviewed calendar in the intended timezone, DST/exclusion boundaries are deterministic, and the linked job is dispatched only inside allowed windows.
Recovery boundarypreserve the evaluated instant and calendar version, repair the recurrence/timezone rule, recompute upcoming instances, then verify both an allowed and blocked boundary time
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

At minimum retain calendar ID/version, timezone, recurrence rule, exclusions, evaluated UTC/local instant, eligibility result, next eligible time and linked job/schedule ID. The useful output makes ambiguity visible, links to the target identity from calendar ID/version, timezone identifier and schedule/job IDs referencing it, and provides enough context to safely decide whether a retry is permitted.

Confirmation

Confirm action

Continue?