# Schedule

Trigger `clock`

trigger.schedule

Fires on a time-based schedule at configurable intervals. Use this trigger to run workflows periodically — from every 5 seconds for rapid polling to every hour for background maintenance tasks.

Choose from preset intervals or specify a custom duration in seconds. The trigger fires reliably while the workflow is active, emitting a timestamp and the configured interval with each tick.

## Ports

Direction | Name | Data Type | Description
--- | --- | --- | ---
Outlet | Output | Any | Payload emitted at each scheduled interval

## Configuration

Field | Type | Default | Description
--- | --- | --- | ---
Interval | `Dropdown` | Every 5 minutes | Schedule interval: 5s, 30s, 1m, 5m, 15m, 1h, or Custom
Custom Interval (seconds) | `Number` | 60 | Interval in seconds when using custom mode Visible when Interval is set to Custom
Custom Arguments | `Key-Value` | — | Additional key-value pairs included in the output payload

## Output Variables

Variable | Type | Description
--- | --- | ---
`timestamp` | String | ISO 8601 timestamp of the trigger
`interval` | String | Configured interval value

## Example

Check an API endpoint every 5 minutes and notify when the site is down: