Schedule
Start a flow on a timer, using a cron expression.
trigger.schedule runs on a timer.
Settings
| Setting | What it does |
|---|---|
| Schedule | A five-field cron expression: minute, hour, day of month, month and day of week. |
| Expression | Runs |
|---|---|
*/15 * * * * | Every 15 minutes |
0 9 * * 1 | At 09:00 on Mondays |
0 0 1 * * | At midnight on the first of each month |
The builder describes the schedule in plain language beneath the field. A bad expression is an error and blocks the deploy.
Ways out
out.
Produces
| Token | Value |
|---|---|
{run.time} | When this run started |
{run.count} | How many times this schedule has run |
Notes
- Nobody triggers a scheduled run and no channel hosts it. Only
{server.*}and{bot.*}tokens apply, so use Send to a channel to post. - Schedules need a gateway bot. See Plans.
Example
0 9 * * * with a Send to a channel step posts a daily message at 09:00.