diff --git a/docs/processes/one-off-tasks.md b/docs/processes/one-off-tasks.md index 60ab9844a..11419dc94 100644 --- a/docs/processes/one-off-tasks.md +++ b/docs/processes/one-off-tasks.md @@ -20,9 +20,8 @@ The `run` command can be used to run a one-off process for a specific command. T > New as of 0.25.0, this container will be removed after the process exits. ```shell -# runs `ls` in the `/app` directory of the app `node-js-app` -# -dokku run node-js-app ls +# runs `ls -lah` in the `/app` directory of the app `node-js-app` +dokku run node-js-app ls -lah # optionally, run can be passed custom environment variables dokku run --env "NODE_ENV=development" --env "PATH=/custom/path" node-js-app npm run mytask