Cron Trigger
cron_trigger · Nodes · Trigger · Trigger
Starts a workflow from a cron schedule.
Fires on a cron schedule (e.g., "0 9 * * MON-FRI" for weekdays at 9am).
Config:
expression- cron expression (minute, hour, day-of-month, month, day-of-week)timezone- timezone for cron evaluation (default: UTC)
Cron syntax:
*= every value*/5= every 5 units1,15= specific values1-5= range
Examples:
0 9 * * *- daily at 9:00 AM0 */2 * * *- every 2 hours0 9 * * MON-FRI- weekdays at 9:00 AM0 0 1 * *- 1st of each month at midnight
Output: output timestamp object with date, time, datetime, year, month, day, hour, minute, second, weekday, and unix fields
Inputs
None.
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
expression | string | Yes | Cron schedule expression |
timezone | enum(UTC, America/New_York, America/Chicago, America/Denver, America/Los_Angeles, Europe/London, Europe/Berlin, Europe/Helsinki, Asia/Tokyo, Asia/Shanghai, Asia/Kolkata, Australia/Sydney) | No | Timezone for cron schedule evaluation |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |