Skip to main content

Run a cron job every three days

Question

Can I run a cronjob every three days?

Answer

You can use a day-of-month step when you want a repeating date pattern, but standard cron cannot express a continuous 72-hour interval across month boundaries. The expression below runs at midnight on dates 1, 4, 7, 10, 13, 16, 19, 22, 25, and 28 of every month.

crontab
# at midnight on dates 1, 4, 7, and so on through 28
0 0 1-30/3 * *

Read 0 0 1-30/3 * * from left to right: the first 0 selects minute 0; the second 0 selects hour 0; 1-30/3 starts at day 1 of the month and advances through that range in steps of three; the month * allows every month; and the day-of-week * allows every day of the week. This is suitable when those calendar dates are what you mean. It is not a strict “wait three days after the previous run” schedule because the day-of-month field restarts at 1 each month. If elapsed time matters, run a daily cron and let your command compare a persisted last-run timestamp before doing the work:

crontab
# daily trigger; the script exits unless 72 hours have passed
0 0 * * *
Run 0 0 1-30/3 * * on Crontap
Why this matters

The monthly reset produces uneven gaps. April 28 to May 1 is three days, January 28 to February 1 is four days, and February 28 to March 1 is one day (two in a leap year). A task that assumes a full 72-hour recovery, billing, retention, or rate-limit window may therefore run too early or too late. Treat this as a calendar-date pattern. For elapsed-time guarantees, persist the last successful run and check it from a more frequent schedule. If “every three days” means a weekday pattern, see every Monday, Wednesday and Friday.

Read the dedicated guide: Cron every 3 days.

Cron schedule used

What it does

0 0 1-30/3 * * — command

At 00:00, every 3 days, between day 1 and 30 of the month.

Calendar

View future cron matches in a calendar

September 2026 · UTC

0 runs

See this cron expression on the calendar view example

Write the cron here. Run it on Crontap.

Point Crontap at any URL. Pick any cron. Done.

WordPress, Shopify, Railway, Cloud Run, Vercel, HubSpot, Ghost, your own box. If it answers HTTP, Crontap can drive it on a clock you can read, in the timezone that actually matters, and page you when something breaks.

1.9k+ teams · Free forever tier · No credit card

Permalink: https://tool.crontap.com/help/cron-job-run-script-every-number-of-days