This commit is contained in:
2023-07-04 20:26:41 -05:00
parent 498e4452e1
commit 2a3cc69815
3 changed files with 18 additions and 12 deletions

16
defaults.inc Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
VERS=2.2.1-07042023
SENDNOTICE(){
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3} &
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
}