Skip to main content

Cron every 20 minutes, starting at :05

Question

I want to execute a task every 20 minutes, starting at 5 past the hour, is it possible to achieve this with Cron?

Answer

Use 5-59/20 * * * * to run at 5, 25, and 45 minutes past every hour. This gives you a consistent 20-minute cadence: after the :45 run, the next hour's :05 run is also 20 minutes later. A plain */20 * * * * uses the minute field's minimum value as its starting point, so it runs at :00, :20, and :40 instead.

crontab
# every 20 minutes, starting at 5 past each hour
5-59/20 * * * *

Read the five fields as minute, hour, day of month, month, and day of week. In the minute field, 5-59/20 means start at minute 5, stay within the valid range through minute 59, and advance in steps of 20. Expanding that range gives 5, 25, and 45; the next calculated value, 65, lies outside the minute field and is omitted. The wildcard in the hour field repeats that same minute pattern every hour, and the remaining three wildcards match every day of the month, every month, and every day of the week. Cron evaluates the range anew each hour, which is why the sequence resumes at :05 after each hour boundary.

Run 5-59/20 * * * * on Crontap
Why this matters

Choosing the wrong anchor shifts every run. If you use */20, your task fires at :00, :20, and :40, which may collide with other jobs concentrated at round clock times. Starting at :05 preserves the requested spacing while moving those runs away from the top of the hour. The hour boundary is the part to check: cron re-evaluates the minute field each hour, and this sequence stays 20 minutes apart only because :45 to the next hour's :05 is exactly 20 minutes. For the plain :00/:20/:40 cadence, see cron every 20 minutes.

Read the dedicated guide: Cron every 20 minutes.

Cron schedule used

What it does

5-59/20 * * * *

Every 20 minutes, minutes 5 through 59 past the hour, every hour, every day.

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-expression-every-number-of-minutes