Scheduled Workflows
Workflows can be scheduled on a recurring basis
Using the trigger
field of a workflow config, you can configure your Workflow to run on a schedule with the cron
setting.
The following workflow config is configured to run every two hours:
Cron Patterns
Workflows can be scheduled using standard cron syntax. Some examples include:
Cron Expression | Cadence |
---|---|
| Every hour at the beginning of the hour. |
| 2:00 AM from Monday to Friday. |
| Midnight (00:00) every Sunday. |
| 3:30 AM on the 15th day of every month. |
Predefined Schedules
You may use one of several pre-defined schedules in place of a cron expression.
Pattern | Cadence | Cron Equivalent |
---|---|---|
| Run once a year, midnight, Jan. 1st |
|
| Run once a month, midnight, first of month |
|
| Run once a week, midnight between Sat/Sun |
|
| Run once a day, midnight |
|
| Run once an hour, beginning of hour |
|
Limitations
Each workflow can only have a single active run at a time. If a workflow is still running while a subsequent scheduled workflow reaches the evaluation window, the next workflow run is prevented from launching until the current run completes.
Last updated