Paid Feature - Cron triggers are available on the Hobby and Pro plans. View pricing
cron trigger enables scheduled flow execution using cron expressions. Flows with cron triggers run automatically at the times you specify, powered by Upstash QStash schedules.
Configuration
Config Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
schedule | string | Yes | - | Cron expression (e.g., 0 9 * * * for 9 AM daily) |
timezone | string | No | "UTC" | IANA timezone (e.g., America/New_York, Europe/London) |
Cron Expression Format
Cron expressions define when your flow runs using five fields:Special Characters
| Character | Description | Example |
|---|---|---|
* | Any value | * * * * * (every minute) |
, | List of values | 0,30 * * * * (at minute 0 and 30) |
- | Range of values | 0-5 * * * * (minutes 0 through 5) |
/ | Step values | */15 * * * * (every 15 minutes) |
Common Schedule Examples
| Expression | Description |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 */2 * * * | Every 2 hours |
30 8 * * 1-5 | Weekdays at 8:30 AM |
0 0 1 * * | First day of each month at midnight |
*/15 * * * * | Every 15 minutes |
0 0 * * 0 | Every Sunday at midnight |
0 6,18 * * * | At 6:00 AM and 6:00 PM |
0 0 * * 1 | Every Monday at midnight |
Timezones
By default, schedules run in UTC. Specify a timezone to run at local time:Common Timezones
| Timezone | Region |
|---|---|
UTC | Coordinated Universal Time |
America/New_York | US Eastern |
America/Los_Angeles | US Pacific |
America/Chicago | US Central |
Europe/London | UK |
Europe/Paris | Central Europe |
Asia/Tokyo | Japan |
Asia/Shanghai | China |
Australia/Sydney | Australia Eastern |
Africa/Lagos | West Africa |
Runtime Context
When your scheduled flow executes, the context includes schedule information:Context References
| Reference | Description |
|---|---|
{{trigger.type}} | Trigger type ("cron") |
{{trigger.flow_id}} | Flow ID |
{{trigger.schedule}} | Cron expression |
{{trigger.timezone}} | Configured timezone |
Example: Log Cron Execution
Use a log node to track cron job executions:Schedule Management
| Action | Effect |
|---|---|
| Deploy flow | Creates or updates the schedule |
| Disable flow | Pauses the schedule |
| Enable flow | Resumes the schedule |
| Delete flow | Removes the schedule |
Complete Example
A daily report generator that runs every weekday at 9 AM Eastern:Use Cases
Daily Reports
Generate and send reports at a specific time each day:- Sales summaries
- User activity reports
- System health dashboards
Data Synchronization
Periodically sync data between services:- Import data from external APIs
- Update cached aggregations
- Sync inventory levels
Cleanup Jobs
Remove stale data on a schedule:- Delete expired sessions
- Archive old records
- Clear temporary files
Health Checks
Monitor external services at regular intervals:- Check API availability
- Validate SSL certificates
- Test database connections
Billing Cycles
Process recurring operations:- Generate invoices
- Process subscription renewals
- Send payment reminders
Notifications
Send scheduled notifications:- Weekly newsletters
- Reminder emails
- Digest summaries
Plan Availability
Cron triggers are available on Hobby and Pro plans.Related
- HTTP Trigger - Create REST endpoints
- Queue Trigger - Process messages asynchronously
- Flow Structure - Understanding flow definitions