Update offsite-power-check.sh

This commit is contained in:
2023-11-05 14:48:58 -06:00
parent a703066bce
commit 0f5e1a0394

View File

@@ -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)