diff --git a/offsite-power-check.sh b/offsite-power-check.sh index e65d52e2..e8a887cf 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -49,6 +49,7 @@ PWO_START(){ curl -sd "token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${1}&priority=${PRIORITY}&sound=cosmic" https://api.pushover.net/1/messages.json >/dev/null 2>&1 } if [ "${startup}" == "true" ]; then + echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${OFFSITE_VOLTIN}'Volts - ${OFFSITE_BATT_CAP}% Battery - Service startup" >> ${PW_LOGPOWER} SENDNOTICE "OFFSITE POWER MONITOR" "Service starting" startup=false fi