Articles in this section

Cron expression syntax

Flow schedules use cron expressions: six positions, separated by spaces — a leading ?, then the minutes, hours, days of the month, months, and days of the week a flow runs. The schedule editor builds the expression for you, but writing one by hand gives you patterns the builder doesn't offer, such as a range of minutes or weekdays only. This article is the reference for each position and the characters it accepts, with examples.

Positions

An expression has six positions, in this order: a seconds position that is always ?, then minute, hour, day of month, month, day of week — for example, ? 5 0 ? * *. The schedule editor builds the expression from its Minute, Hour, Day of month, Month, and Day of week tabs, and a saved schedule is stored in the same six-position form.

Position Values Notes
Minute 0–59 integrator.io assigns the exact start minute within the cadence you choose: 0, 15, 30, and 45 are saved as 5, 20, 35, and 50, so an expression written for the top of the hour runs five minutes later. * means every assigned start minute in the hour. See Schedule a flow.
Hour 0–23 24-hour clock; 0 is midnight. 11,23 runs at 11 AM and 11 PM.
Day of month 1–31 15 runs on the 15th only; * runs every day.
Month 1–12 1 is January.
Day of week 0–6 or SUN, MON, TUE, WED, THU, FRI, SAT 0 is Sunday.

Characters

Character Meaning Example
* Every value * in the hour position: every hour
, A list 11,23
- A range MON-FRI
? No value — always in the first (seconds) position, and in the day-of-month or day-of-week position An expression can't set both days; put ? in the one you aren't using.

Examples

Expression Runs
? 5 * ? * * Every hour at :05
? 5,20,35,50 * ? * * Every 15 minutes
? 5 0 ? * * Every day at 12:05 AM
? 5 0 1 * ? The first of every month at 12:05 AM
? 0-14 11,23 ? * * During the first 15 minutes of 11 AM and 11 PM, every day
? 0-14 5 15 * ? At 5 AM on the 15th of every month
? 30-44 13,17 ? * MON,WED,FRI At 1:30 PM and 5:30 PM on Mondays, Wednesdays, and Fridays
? 0-14 17 ? * MON-FRI At 5 PM on weekdays
? 0-14 7 1 * ? At 7 AM on the first of the month

Several times a day

A list of minutes and a list of hours combine: ? 0,10,30 9,12,16 ? * * runs nine times a day (every listed minute in every listed hour), not three. One expression can't pair a different minute with each hour, such as 9:10 AM, 12:30 PM, and 4:00 PM. For the ways around that, see Schedule a flow.