This commit is contained in:
2023-11-23 23:15:55 -06:00
parent e8a524c4dc
commit 40217631e2
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
VERS='2.3.231-11172023'
VERS='2.3.232-11232023'
noheader=' update service dailytemp '
@@ -150,8 +150,8 @@ unset IFS
SENDNOTICE(){
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3} &
"$(date +%Y-%m-%d-%H-%M-%S)" "${1}" ${3} &
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n"$(date +%Y-%m-%d-%H-%M-%S)" | mail -s "${1}" ${EMAIL_NOTICE}
}