MutterCorp
MutterCorpNotice · Notícias
Programação·

Why `0 9 1 * 1` Is Not the First Monday of the Month

If you have ever shipped a crontab line that looked obviously correct and then watched the job fire on days you never intended, you have probably met cron's most unintuitive rule. It is not a parser bug. It is how standard 5-field cron has worked for decades, and it still surprises people who schedule production jobs. The expression everyone thinks they understand A normal crontab entry has five fields: minute hour day-of-month month day-of-week So this looks like "09:00 on the first of the mon…

Publicado no Notice. Categoria: Programação.

Mais recentes em Programação