GUIDE深度 · Deep dive
Common Cron Schedules
The most common cron needs are fixed intervals, daily times, weekdays and the first of the month. Write the human schedule first, translate it to five fields, then confirm the server time zone.
Templates
Every five minutes: */5 * * * *
Daily at 9: 0 9 * * *
Weekdays at 9: 0 9 * * 1-5
First of month at midnight: 0 0 1 * *
Time zones and DST
Cron uses the server's local zone; containers and cloud hosts are often UTC.
DST transition days may skip or repeat a time.
FAQ
Can I schedule seconds?
Standard cron cannot; use systemd timers or an app scheduler.
How do I avoid duplicate runs?
Use locks or idempotency; do not rely on timing alone.