mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
Add documentation for "n8n run" command
This commit is contained in:
parent
9fdbf2c9ee
commit
b776bd8bd7
|
@ -85,6 +85,23 @@ connection URL `database.mongodbConfig` accordingly.
|
|||
n8n will then read your custom configuration and use MongoDB instead.
|
||||
|
||||
|
||||
## Execute Workflow from CLI
|
||||
|
||||
Workflows can not just be started by triggers, webhooks or manually via the
|
||||
Editor it is also possible to run them directly via the CLI.
|
||||
|
||||
Execute a saved workflow by its ID:
|
||||
|
||||
```bash
|
||||
n8n run --id <ID>
|
||||
```
|
||||
|
||||
Execute a workflow from a workflow file:
|
||||
```bash
|
||||
n8n run --file <WORKFLOW_FILE>
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
[Apache 2.0 with Commons Clause](LICENSE.md)
|
||||
|
|
Loading…
Reference in a new issue