Created
September 5, 2017 21:49
-
-
Save justinwhall/8620e4db4065926d92515561e1f9f174 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
START=$(date +%s) | |
# do a bunch of backup related things | |
END=$(date +%s) | |
runtime=$(($END-$START)) | |
echo "databases.backups.$db_prefix.full $runtime `date +%s`" | nc -w 1 $graphite_url 2003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment