Use the Schedule trigger node run workflows at fixed intervals and times. This works in a similar way to the cron software utility in Unix-like systems.
The Schedule trigger node replaces the Cron node from version 0.199.0 onwards. If you're using an older version of n8n, you can still view the Cron node documentation.
Keep in mind
- If a workflow uses the Schedule node as a trigger, make sure that you save and activate the workflow.
- Set the timezone correctly for the n8n instance (or the workflow).
Schedule your workflow#
Select an interval in trigger Interval. Once you select an interval, n8n displays more options to customize that interval.
In this example, schedule a workflow to run once a quarter, at the end of the quarter, at 09:00.
- In trigger Interval, select Months.
- Change Months Between triggers to
- To run the workflow at the end of the month, change trigger at Day of Month to
- Change trigger at Hour to 9am. Leave trigger at Minute as its default,
Note that the Schedule trigger uses the workflow timezone if available. Otherwise it uses the n8n instance timezone.
Generate a custom cron expression#
If you need a custom time setting, select trigger Interval > Custom (Cron).
To generate a cron expression, you can use crontab guru. Paste the cron expression that you generated using crontab guru in the Expression field in n8n.
If you want to trigger your workflow every day at 04:08:30, enter the following in the Cron Expression field.
If you want to trigger your workflow every day at 04:08, enter the following in the Cron Expression field.
Why there are six asterisks (*) in the cron expression?#
The sixth asterisk in the cron expression represents seconds. Setting this is optional. The node will execute even if you don't set the value for seconds.