This commit is contained in:
Deborah Barnard 2022-10-24 09:59:54 +01:00
parent fc29986779
commit 418ce93b7a
4 changed files with 139 additions and 1 deletions

View File

@ -1,10 +1,14 @@
# 2022 UI changes
# code node
/integrations/builtin/core-nodes/n8n-nodes-base.imapemail/ /integrations/builtin/core-nodes/n8n-nodes-base.emailimap/
# code schedule start nodes
/data/data-mapping/data-item-linking/item-linking-function-node/ /data/data-mapping/data-item-linking/item-linking-code-node/
/integrations/builtin/core-nodes/n8n-nodes-base.function/ /integrations/builtin/core-nodes/n8n-nodes-base.code/
/integrations/builtin/core-nodes/n8n-nodes-base.functionItem/ /integrations/builtin/core-nodes/n8n-nodes-base.code/
/integrations/builtin/core-nodes/n8n-nodes-base.functionitem/ /integrations/builtin/core-nodes/n8n-nodes-base.code/
/integrations/builtin/core-nodes/n8n-nodes-base.cron/ /integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/
# methods / vars / paired items

View File

@ -0,0 +1,52 @@
# Schedule Trigger
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.
!!! note "Cron node"
The Code 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](https://github.com/n8n-io/n8n-docs/blob/67935ad2528e2e30d7984ea917e4af2910a096ec/docs/integrations/builtin/core-nodes/n8n-nodes-base.cron.md){:target=_blank .external-link}.
!!! note "Keep in mind"
1. If a workflow uses the Schedule node as a trigger, make sure that you save and activate the workflow.
2. 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.
### Example
In this example, schedule a workflow to run once a quarter, at the end of the quarter, at 09:00.
1. In **Trigger Interval**, select **Months**.
2. Change **Months Between Triggers** to `3`.
3. To run the workflow at the end of the month, change **Trigger at Day of Month** to `28`.
4. Change **Trigger at Hour** to **9am**. Leave **Trigger at Minute** as its default, `0`.
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](https://crontab.guru){:target=_blank .external-link}. Paste the cron expression that you generated using crontab guru in the **Expression** field in n8n.
### Examples
If you want to trigger your workflow every day at 04:08:30, enter the following in the **Cron Expression** field.
```
30 8 4 * * *
```
If you want to trigger your workflow every day at 04:08, enter the following in the **Cron Expression** field.
```
8 4 * * *
```
### 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.
| * | * | * | * | * | * |
|---|---|---|---|---|---|
|second|minute|hour|day|week|month|

View File

@ -1,5 +1,87 @@
# Release notes
## n8n@0.199.0
View the [commits](https://github.com/n8n-io/n8n/compare/n8n@0.198.2...n8n@0.199.0){:target=_blank .external-link} for this version.<br />
**Release date:** _2022-10-21_
This release includes new nodes, an improved workflow UI, performance improvements, and bug fixes.
### New features
<div class="n8n-new-features" markdown>
#### New workflow experience
This release brings a collection of UI changes, aimed at improving the workflow experience for users. This includes:
* Removing the Start node, and adding help to guide users to find a trigger node.
* Improved node search.
* New nodes: Manual Trigger and Execute Workflow Trigger.
</div>
* Core: block workflow updates on interim changes.
* Core: enable sending client credentials in the body of API calls.
* Editor: add automatic credential selection for new nodes.
### New nodes
<div class="n8n-new-features" markdown>
#### Compare node
_Description of new feature. Link to new node doc._
</div>
<div class="n8n-new-features" markdown>
#### Execute Workflow Trigger node
_Description of new feature. Link to new node doc._
</div>
<div class="n8n-new-features" markdown>
#### Manual Trigger node
You can find documentation for the new node [here](/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/).
</div>
<div class="n8n-new-features" markdown>
#### Schedule Trigger node
This release introduces the Schedule Trigger node, replacing the Cron node. You can find documentation for the new node [here](/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/).
</div>
### Node enhancements
* Hubspot node: you can now use your Hubspot credentials in the HTTP Request node to make a [custom API call](/integrations/custom-operations/).
* Rundeck node: you can now use your Rundeck credentials in the HTTP Request node to make a [custom API call](/integrations/custom-operations/).
* _Include link to node doc._
### Bug fixes
* Editor: fix a hover bug in the bottom menu.
* Editor: resolve performance issues when opening a node, or editing a code node, with a large amount of data.
* Editor: ensure workflows always stop when clicking the stop button.
* Editor: fix a bug that was causing text highlighting when mapping data in Firefox.
* Editor: ensure correct linting in the Code node editor.
* Editor: handle null values in table view.
* Elasticsearch node: fix a pagination issue.
* Google Drive node: fix typo.
* HTTP Request node: avoid errors when a response doesn't provide a content type.
* n8n node: fix a bug that was preventing the resource locator component from returning all items.
### Contributors
_List external contributors. Do not use a bulleted list here._
## n8n@0.198.2
View the [commits](https://github.com/n8n-io/n8n/compare/n8n@0.198.1...n8n@0.198.2){:target=_blank .external-link} for this version.<br />