Add notification (#2241)

* add cron notify

* fix format

* fix format
This commit is contained in:
neil
2019-04-29 22:13:54 +08:00
committed by GitHub
parent b7a0443091
commit b50e701cae
6 changed files with 481 additions and 13 deletions

15
notify/mail.sh Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env sh
# support local mail app
mail_send() {
_subject="$1"
_content="$2"
_statusCode="$3" #0: success, 1: error 2($RENEW_SKIP): skipped
_debug "_subject" "$_subject"
_debug "_content" "$_content"
_debug "_statusCode" "$_statusCode"
_err "Not implemented yet."
return 1
}