Production Linux Crontab Pitfalls
The Unescaped % Bug in Linux Crontab
Vixie cron converts any unescaped % character inside a command into a newline and passes the rest to standard input, silently breaking date +%Y-%m-%d backup scripts.
highDay-of-Month + Day-of-Week Uses OR Logic (Not AND)
Writing 0 9 15 * 1 does not mean Monday the 15th. Vixie cron triggers whenever EITHER day-of-month OR day-of-week matches.
highDST Skipped Jobs & Double Runs (02:00-03:00 Window)
Jobs scheduled between 01:00 and 03:00 in local DST timezones silently skip on Spring Forward or execute twice on Fall Back.
highThundering Herd at :00 and 00:00 (Jitter & Staggering)
Scheduling 10+ jobs at 0 * * * * or 0 0 * * * causes simultaneous CPU, disk, and database connection spikes every hour.
mediumPreventing Overlapping Cron Runs With flock -n
If a 5-minute cron job stalls for 12 minutes, cron spawns a second and third copy concurrently until memory or DB locks exhaust.
mediumGitHub Actions Cron Schedules Always Run in UTC (Plus Queue Jitter)
GitHub Actions ignores local timezones and frequently delays :00 top-of-hour runs by 5-25 minutes under platform load.