docs: fix typo

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-06-08 22:35:17 -04:00
1 parent 0f4b5d4305
commit d0b87936db
1 file changed
+5 -5
+5 -5
View File
@@ -64,28 +64,28 @@ The `cron` plugin provides a number of settings that can be used to managed depl
| `maintenance` | Whether to have cron running for the app or not. | App-only | `false` | | `maintenance` | Whether to have cron running for the app or not. | App-only | `false` |
| `mailto` | Sets the `MAILTO` variable in a cron file for cron reporting | Global-only | empty string | | `mailto` | Sets the `MAILTO` variable in a cron file for cron reporting | Global-only | empty string |
All settings can be set via the `ps:set` command. Using `maintenance` as an example: All settings can be set via the `cron:set` command. Using `maintenance` as an example:
```shell ```shell
dokku ps:set node-js-app maintenance true dokku cron:set node-js-app maintenance true
``` ```
The default value may be set by passing an empty value for the option in question: The default value may be set by passing an empty value for the option in question:
```shell ```shell
dokku ps:set node-js-app maintenance dokku cron:set node-js-app maintenance
``` ```
If a property can be set globally - such as `mailto`, use the `--global` flag. If not set for an app, the global value will apply if it exists. If a property can be set globally - such as `mailto`, use the `--global` flag. If not set for an app, the global value will apply if it exists.
```shell ```shell
dokku ps:set --global maintenance true dokku cron:set --global maintenance true
``` ```
The global default value may be set by passing an empty value for the option. The global default value may be set by passing an empty value for the option.
```shell ```shell
dokku ps:set --global maintenance dokku cron:set --global maintenance
``` ```
#### Listing Cron tasks #### Listing Cron tasks