Updated notify (markdown)

master
neil 2019-04-28 22:21:38 +08:00
parent e763a0e0b4
commit f1a959ebaa
1 changed files with 11 additions and 10 deletions

@ -6,13 +6,18 @@ Every night when the renew cronjob runs, you may receive notifications based on
``` ```
--notify-level 0|1|2|3 Set the notification level: Default value is 2. --notify-level 0|1|2|3 Set the notification level: Default value is 2.
0: disabled, no notification will be sent. 0: disabled, no notification will be sent.
1: send notification only when there is an error. No news is good news. 1: send notification only when there is an error. No news is good news.
2: send notification when a cert is successfully renewed, or there is an error 2: send notification when a cert is successfully renewed, or there is an error
3: send notification when a cert is skipped, renewdd, or error 3: send notification when a cert is skipped, renewed, or error. You will receive notification every night with this level.
--notify-mode 0|1 Set notification mode. Default value is 0. --notify-mode 0|1 Set notification mode. Default value is 0.
0: Bulk mode. Send all the domain's notifications in one message(mail)
1: Cert mode. Send a message for every single cert. 0: Bulk mode. Send all the domain's notifications in one message(email)
1: Cert mode. Send a message for every single cert. You may receive a bulk of emails in one night.
--notify-hook [hookname] Set the notify hook --notify-hook [hookname] Set the notify hook
@ -36,10 +41,6 @@ acme.sh --set-notify [--notify-mode 0]
## 1. Set notification for mailgun.com ## 1. Set notification for mailgun.com
Send notification by mailgun.com api. The notification email will be sent to your email address. Send notification by mailgun.com api. The notification email will be sent to your email address.