Created
April 28, 2016 08:32
-
-
Save rochefort/3c8c4c538720be41d68247d4fa08c846 to your computer and use it in GitHub Desktop.
send mail
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
{ echo -n 'hostname: ' && hostname; echo -n 'date: ' && date; echo 'df: ' && df -ha;} | mail -s "[redmine]disk usage" [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment