The notification utility is used for configuring automatic sending
of email notices on system events.
Usage
notification <command>
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
Example
The following command configures Plesk to notify the server
administrator when a new customer account is created:
plesk bin notification --update -code client_creation -send2admin true
Commands
| Command | Parameter | Description | Example |
|---|---|---|---|
--update or -u | -code <event code> | Updates automatic notification settings for a specific event. The available codes are provided in the Supported notification codes table below. | To configure Plesk to notify the server administrator when a plesk bin notification --update -code client_creation -send2admin true |
--expiration | <number of days> | By default, Plesk is configured to send subscription expiration warnings 10 days in advance. You can adjust this setting with the --expiration command. | To set the number of days for sending the expiration warnings plesk bin notification --expiration 5 |
--help or -h | Displays help on the use of the utility. | To view a help page for the utility: … |