Last active
September 14, 2015 17:00
-
-
Save bsmithyman/37bd352822989bea1948 to your computer and use it in GitHub Desktop.
Crontab entry for vnstati to email
This file contains 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
0 7 1 * * (vnstati -m -i eth1 -o /tmp/vnstati.png && uuencode /tmp/vnstati.png /tmp/vnstati.png && vnstati -d -i eth1 -o /tmp/vnstati.png && uuencode /tmp/vnstati.png /tmp/vnstati.png) | mailx -s "Network Usage" [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment