Skip to content

Instantly share code, notes, and snippets.

@nikcub

nikcub/crontab

Created Jul 21, 2016
Embed
What would you like to do?
downtime tracker
* * * * * ! ping -q -c1 www.google.com >/dev/null && echo `date` >> ~/.downtime.log >/dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment