Scheduling the Void: Crontab Syntax and Time Zone Arithmetic
Cron is the heartbeat of server management. However, its simple string format hides immense complexity when global time zones are involved.
The Five Pillars
A standard cron job has five time fields:
- Minute (0-59)
- Hour (0-23)
- Day of Month (1-31)
- Month (1-12)
- Day of Week (0-7)
The Daylight Savings Hazard
If a cron job is set to run at 2:30 AM local time, and your server adjusts its clock for Daylight Savings, your job might run twice—or not at all—during the transition hour.
The Immutable Rule
Always set your server clocks to UTC. Use local time only for the human-facing display. Our Cron Generator provides visual feedback based on UTC, ensuring your automation remains predictable regardless of political time zone shifts.