Search for does */5 in the day-of-month field mean dates divisible by 5 and the honest answer is no—at least on Vixie cron and cronie, the cron package on most Linux servers.
0 0 */5 * * That line is midnight on the 1st, 6th, 11th, 16th, 21st, 26th, and 31st—not the 5th, 10th, 15th, 20th, 25th, and 30th. People who want “every date divisible by 5” often paste */5 in the day field and get the wrong calendar.
Guide: https://kepttools.com/guides/cron-every-5-minutes
Why the step starts at 1
A step is a range plus /n. In the minute field, * is shorthand for 0–59, so */5 walks 0, 5, 10, through 55. That is why every-five-minutes includes the top of the hour.
The day-of-month field does not start at 0. Its range starts at 1. On Vixie/cronie, * in that field is 1–31, so */5 there means 1, then every fifth day through 31. Divisible-by-five dates are a different set. If the daemon is not cronie, test that list before you trust it—this guide does not simulate every cron dialect.
Contrast with the minute field
| Field | What * means | What */5 walks |
|---|---|---|
| Minute | 0–59 | 0, 5, 10 … 55 |
| Day of month | 1–31 | 1, 6, 11 … 31 |
Same characters. Different range base. Same footgun when you copy muscle memory from minutes into days.
Draft the five fields here when you want plain English first:
Copy the expression—not the sentence beside it. The page does not install the job and does not claim every daemon’s calendar.
Related facts (same guide)
- Five-field cron has no seconds field. Do not prepend one or you shift every field.
- Quartz and EventBridge use six-field shapes (and often
?). A five-field KeptTools line matches neither. - Classic cron will not wait for a long job before the next clock tick.
-
*/5in minutes is locked to the wall clock, not to when you saved the file.
Checklist before you ship a day step
- Name the field in the PR: minute step vs day-of-month step.
- Write the expected calendar dates in the ticket—do not only paste
*/5. - On Vixie/cronie, remember day-of-month starts at 1, so
*/5is not “÷5 dates.” - If the host is not cronie, test before you trust any list from a blog.
- Keep browser generators in their lane: five-field help is not a daemon simulator.
A throwaway line that appends date to a temp file still helps for minute schedules. For monthly day lists, prefer reading crontab(5) on that host and comparing the next few calendar hits by hand—or a short dry-run script you control.
Honest limit
Limit: the generator shows five fields and helps you read them. It will not simulate a particular daemon’s day-of-month list for you. On the host, prefer a throwaway check or the package’s own docs before you depend on a rare calendar.
Closing
Need “every five minutes”? */5 * * * * in the minute field. Need “every fifth calendar day from the 1st”? That is what day-of-month */5 does on Vixie/cronie—not “dates divisible by 5.” Name the field before you trust the step.
Full walkthrough: https://kepttools.com/guides/cron-every-5-minutes