diff --git a/emulator-sync-scripts.sh b/emulator-sync-scripts.sh index c265969..45c2c1e 100755 --- a/emulator-sync-scripts.sh +++ b/emulator-sync-scripts.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERS='1.1.14-05262025' +VERS='1.1.15-06032025' source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc @@ -13,7 +13,8 @@ ES_LOGFOLDER="${ES_FOLDER}/logs" SENDNOTICE(){ [ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2} -$(date)" "${1}" ${3} & + +[$(hostname -f)] $(date)" "${1}" ${3} & [ "${EMAIL_NOTICE}" != "" ] && echo -e "${1}\n\n$(date)" | mail -s "${2}" ${EMAIL_NOTICE}