Update offsite-power-check.sh

This commit is contained in:
2023-11-05 14:49:30 -06:00
parent 0f5e1a0394
commit 610247e934

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 > /dev/null 2>&1 &
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
}
upsinfo=$(upsc CP1500PFCLCD)