diff --git a/offsite-power-check.sh b/offsite-power-check.sh index e2b5f3e0..715f1ad8 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -27,7 +27,8 @@ $(date)" else PRIORITY=0 fi - wget https://api.pushover.net/1/messages.json --post-data="token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" -qO- > /dev/null 2>&1 & + echo "Sending message" + curl --data="token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" https://api.pushover.net/1/messages.json > /dev/null 2>&1 & } upsinfo=$(upsc CP1500PFCLCD)