Merge pull request #598 from phillprice/feature/heartbeat

WIP: Heartbeat
This commit is contained in:
ehpersonal38
2022-10-08 12:13:25 -04:00
committed by GitHub
2 changed files with 28 additions and 17 deletions
+5
View File
@@ -152,6 +152,11 @@ ${BIRDWEATHER_ID_LOG}
${INCLUDEPARAM} \
${EXCLUDEPARAM} \
${BIRDWEATHER_ID_PARAM}
if [ ! -z $HEARTBEAT_URL ]; then
echo "Performing Heartbeat"
IP=`curl -s ${HEARTBEAT_URL}`
echo "Heartbeat: $IP"
fi
done
}