log the date and time the internet goes out

This commit is contained in:
David Todd 2019-10-08 19:42:26 -05:00
parent 2737711783
commit 283a65dcfd

View File

@ -4,4 +4,5 @@ if ping -c 1 1.1.1.1 > /dev/null 2>&1; then
echo "😛"
else
echo "😤"
echo "$(date)" >> /tmp/internet-outages
fi