mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
docs: Add note about task broker server port in execute CLI command
This commit is contained in:
parent
23f5ffb8a3
commit
51a8c39da6
@ -18,9 +18,9 @@ You can use CLI commands with self-hosted n8n. Depending on how you choose to in
|
||||
docker exec -u node -it <n8n-container-name> <n8n-cli-command>
|
||||
```
|
||||
|
||||
## Start a workflow
|
||||
## Execute a workflow
|
||||
|
||||
You can start workflows directly using the CLI.
|
||||
You can execute a workflow directly using the CLI.
|
||||
|
||||
Execute a saved workflow by its ID:
|
||||
|
||||
@ -28,6 +28,10 @@ Execute a saved workflow by its ID:
|
||||
n8n execute --id <ID>
|
||||
```
|
||||
|
||||
/// note | Task broker server port
|
||||
This CLI command requires its own task broker server to service Code node tasks. Therefore, please ensure port `5679` is available, else change it for this CLI command using the env var `N8N_RUNNERS_BROKER_PORT`.
|
||||
///
|
||||
|
||||
## Change the active status of a workflow
|
||||
|
||||
You can change the active status of a workflow using the CLI.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user