Last active
August 29, 2015 14:13
-
-
Save matsuhisa/ff11929aeb7c8ae173ed to your computer and use it in GitHub Desktop.
AWS(EC2:AMI)でcron実行時にメールを送信する方法 ref: http://qiita.com/matsuhisa@github/items/d2b8060b7b812d0909e8
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
echo body | mail -s "subject" -r 'from@example.com' 'to@example.com' |
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
date | mail -s "subject" -r 'from@example.com' 'to@example.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment