Cron Trigger
A Cron trigger executes a workflow without any user interaction nor does it require external events to trigger the workflow.
Cron Expression
Cron expressions are strings that represent a set of times, using 6 fields separated by white space. The fields are, in order:
- Seconds
- Minutes
- Hours
- Day of month
- Month
- Day of week
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of the month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │
* * * * *
Examples:
* * * * *
- Every minute
*/30 * * * *
- Every 30 minutes
45 * * * *
- On the 45th minute of every hour
0 17 * * 1
- 5PM on Sunday
10 7 * * 2-6
- 7:10AM on weekdays
0 15 1 * *
- 3PM on first day of the month
Timezone
On ExecAPI, all time is relative to UTC time zone.