Cron expression for every 40 minutes

The cron expression to run a job every 40 minutes is */40 * * * *. See the next run times in your timezone, plus the uneven-interval gotcha this schedule hides.

*/40minute
*hour
*day
*month
*weekday

*/40 does not divide the minute range evenly

Steps restart each cycle, so the gap between 40 and the next run is 20, not 40. Use an explicit list for an even spacing.

In Plain English

What your cron expression actually means.

Every 40 minutes, every hour, every day

Upcoming Executions

Preview the next 50 times this schedule will trigger.

Calculating…

About */40 * * * *

*/40 * * * * is the usual answer for "every 40 minutes", but it isn't evenly spaced. Steps restart at the top of every hour, so the last run of one hour and the first of the next are closer together than 40 minutes. The warning below shows the exact gap.

Cron reads the five fields as minute hour day month weekday. For this schedule that breaks down as:

  • */40 minute
  • * hour (every value)
  • * day of month (every value)
  • * month (every value)
  • * day of week (every value)

Repeating intervals

Build a custom cron expression →