Scheduler is a native app that enables users to run recipes at pre-defined intervals. With the scheduler, users can trigger recipes with simple schedules (eg. every hour, every day) or configure complex intervals (eg. every fortnight only on weekdays).
If your workflow use case is not triggered by events, use the scheduler to configure a customized schedule.
Using the scheduler trigger
Select the New recurring event trigger.
New recurring event trigger
Schedule configuration
Configure your schedule from the input prompts or define a custom schedule with a CRON expression.
Input fields for new recurring event trigger
Input | Description |
Time unit | Select the largest time unit. |
Trigger every | Define a repeating schedule. The shortest interval is 5 mins. |
Additional time configuration | If you selected a time unit that is Day or larger, use the additional input fields to define the schedule.
|
Cron expression | This advanced option allows you to use CRON expressions to set the custom schedule. Learn more about CRON expressions below. |
Timezone | Select the timezone. |
Using the Scheduler Action
The following 3 actions are also supported:
Get current time
This action returns the specific date and time when this step is executed in a job. This date and time is expressed in UTC, for example,
2017-01-30T05:30:33.479446+00:00
.
Wait for specified length of time
This action allows you to specify the number of seconds the recipe should wait for before proceeding on to the next step.
Wait until the specified time
This action allows you to specify the time to wait until before proceeding on to the next step. If the time specified is in the past, the recipe immediately proceeds on to the next step.
Setting a dynamic time
To wait until next Monday, 8AM PST before proceeding to the next step, toggle the Time input field to formula mode and set the value to today.beginning_of_week + 7.days + 8.hours
. See Date formulas for more examples.