Cheat Sheets · Cron Cheat Sheet · Cron Every 20 Minutes — Crontab Example

Cron Every 20 Minutes — Crontab Example

*/20 * * * *

Runs every 20 minutes — at minutes 0, 20, and 40 of every hour.

Field by field

FieldValueMeaning
Minute*/20Minutes 0, 20, 40
Hour*Every hour
Day of month*Every day
Month*Every month
Day of week*Every day of the week

Firing 3 times per hour, the 20-minute interval is a sweet spot between aggressive 5-minute polling and slow hourly sweeps. It is often used for feed aggregators and status checks.

*/20 * * * * /usr/local/bin/sync-feeds.sh

Related schedules

FAQ

Is 0,20,40 * * * * equivalent?
Yes, the comma-separated list and */20 yield the exact same 3 execution times per hour.

How do I run at :10, :30, :50?
Use a ranged step: 10-59/20 * * * *.

Can I restrict to working hours?
Yes: */20 9-17 * * 1-5 runs every 20 minutes between 9 AM and 5:59 PM on weekdays.

Stop memorizing — build it interactively

Try this schedule in the Cron Editor

Full reference: Cron Cheat Sheet