This commit is contained in:
2023-12-11 08:31:44 -06:00
parent 61812ffb49
commit f5a8fc0b09
2 changed files with 2 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ SENDNOTICE(){
[ "${PUSHOVER_USER_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3} &
[ "${EMAIL_NOTICE}" != "" ] && echo email-notfound || echo email-found
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${1}\n\n$(date)" | mail -s "${2}" ${EMAIL_NOTICE}
}