You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger.md
+27-24Lines changed: 27 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,19 +20,19 @@ If a workflow uses the Schedule node as a trigger, make sure that you save and a
20
20
21
21
Add **Trigger Rules** to determine when the trigger should run.
22
22
23
-
Use the **Trigger Interval** to select the time interval unit of measure to schedule the trigger for. All other rule parameters depend on the interval you select. Choose from:
23
+
Use the **Trigger Interval** to select the time interval unit of measure to schedule the trigger for. All other parameters depend on the interval you select. Choose from:
You can add multiple **Trigger Rules** to run the node on different schedules.
34
34
35
-
Refer to the sections below for more detail on configuring each **Trigger Interval**
35
+
Refer to the sections below for more detail on configuring each **Trigger Interval**. Refer to [Templates and examples](#templates-and-examples) for further examples.
36
36
37
37
### Seconds trigger interval
38
38
@@ -64,7 +64,7 @@ For example, if you enter `2` **Days Between Triggers**, **9am** for **Trigger a
64
64
***Trigger at Hour**: Select the hour of the day to trigger the node.
65
65
***Trigger at Minute**: Enter the minute past the hour to trigger the node when it runs, from `0` to `59`.
66
66
67
-
For example, if you enter `2`**Weeks Between Triggers**, **Monday** for **Trigger on Weekdays**, **3pm** for **Trigger at Hour**, and `30`**Trigger at Minute**, the node will run every two weeks on Monday at 3:30pm.
67
+
For example, if you enter `2`**Weeks Between Triggers**, **Monday** for **Trigger on Weekdays**, **3pm** for **Trigger at Hour**, and `30`**Trigger at Minute**, the node will run every two weeks on Monday at 3:30 PM.
68
68
69
69
### Months trigger interval
70
70
@@ -73,33 +73,36 @@ For example, if you enter `2` **Weeks Between Triggers**, **Monday** for **Trigg
73
73
***Trigger at Hour**: Select the hour of the day to trigger the node.
74
74
***Trigger at Minute**: Enter the minute past the hour to trigger the node when it runs, from `0` to `59`.
75
75
76
-
For example, if you enter `3`**Months Between Triggers**, `28`**Trigger at Day of Month**, **9am** for **Trigger at Hour**, and `0`**Trigger at Minute**, the node will run each quarter on the 28th day of the month at 9:00am.
76
+
For example, if you enter `3`**Months Between Triggers**, `28`**Trigger at Day of Month**, **9am** for **Trigger at Hour**, and `0`**Trigger at Minute**, the node will run each quarter on the 28th day of the month at 9:00 AM.
77
77
78
78
### Custom (Cron) interval
79
79
80
80
Enter a custom cron **Expression** to set the schedule for the trigger.
81
81
82
82
To generate a Cron expression, you can use [crontab guru](https://crontab.guru){:target=_blank .external-link}. Paste the Cron expression that you generated using crontab guru in the **Expression** field in n8n.
83
83
84
-
### Examples
84
+
####Examples
85
85
86
-
If you want to trigger your workflow every day at 04:08:30, enter the following in the **Cron Expression** field.
87
-
```
88
-
30 8 4 * * *
89
-
```
86
+
|Type|Cron Expression|Description|
87
+
|---|---|---|
88
+
|Every X Seconds|`*/10 * * * * *`|Every 10 seconds.|
89
+
|Every X Minutes|`*/5 * * * *`|Every 5 minutes.|
90
+
|Hourly|`0 * * * *`|Every hour on the hour.|
91
+
|Daily|`0 6 * * *`|At 6:00 AM every day.|
92
+
|Weekly|`0 12 * * 1`|At noon every Monday.|
93
+
|Monthly|`0 0 1 * *`|At midnight on the 1st of every month.|
94
+
|Every X Days|`0 0 */3 * *`|At midnight every 3rd day.|
95
+
|Only Weekdays|`0 9 * * 1-5`|At 9:00 AM Monday through Friday.|
96
+
|Custom Hourly Range|`0 9-17 * * *`|Every hour from 9:00 AM to 5:00 PM every day.|
97
+
|Quarterly|`0 0 1 1,4,7,10 *`|At midnight on the 1st of January, April, July, and October.|
90
98
91
-
If you want to trigger your workflow every day at 04:08, enter the following in the **Cron Expression** field.
92
-
```
93
-
8 4 * * *
94
-
```
95
-
96
-
### Why there are six asterisks in the Cron expression
99
+
#### Why there are six asterisks in the Cron expression
97
100
98
101
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.
99
102
100
-
|*| * | * | * | * | * |
103
+
|(*)| * | * | * | * | * |
101
104
|:--:|:--:|:--:|:--:|:--:|:--:|
102
-
|second|minute|hour|day of month|month|day of week|
105
+
|(second)|minute|hour|day of month|month|day of week(Sun-Sat)|
0 commit comments