Automation · Scheduling
Time Zones
Cheat sheet · https://pcornel.dk/topic.php?topic=5354
Answer
Time zones matter for scheduling: decide whether jobs run in UTC or local time, and handle daylight saving changes, when 02:30 may happen twice or not at all.
Remember
- Decide between UTC and local time.
- Daylight saving can skip or repeat times.
- Document the choice.
First checks
timedatectl— host time zone- Scheduler time zone setting (CRON_TZ, TZ) — explicit
- DST transitions tested — edge cases
Verify in this order
schedule + time zone → actual run time
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=5354