Update offsite-power-check.sh

This commit is contained in:
2023-11-05 14:50:42 -06:00
parent 610247e934
commit b1aed1264e

View File

@@ -28,7 +28,7 @@ $(date)"
PRIORITY=0
fi
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
curl "https://api.pushover.net/1/messages.json?token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}""
}
upsinfo=$(upsc CP1500PFCLCD)