# Schedule

> Start a flow on a timer, using a cron expression.

Source: https://docs.buildcord.dev/nodes/triggers/schedule/

`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 or server hosts it, so use [Send to a channel](https://docs.buildcord.dev/nodes/messages/send-to-channel) to post. To act in a server, such as listing its members, start with [Work in a server](https://docs.buildcord.dev/nodes/server/work-in-a-server).
- On the Free plan a bot runs one schedule, at most once an hour. Paid plans run any number, as often as every minute. See [Plans](https://docs.buildcord.dev/concepts/plans).

## Example

`0 9 * * *` with a [Send to a channel](https://docs.buildcord.dev/nodes/messages/send-to-channel) step posts a daily message at 09:00.

## Related

- [Run a loop](https://docs.buildcord.dev/nodes/flow-control/loop)
- [For each row](https://docs.buildcord.dev/nodes/variables-and-data/for-each-row)
