LoginSignup
0
0

More than 5 years have passed since last update.

AWS(EC2:AMI)でcron実行時にメールを送信する方法

Last updated at Posted at 2015-01-14
  • AWS で SESの設定はしておく
  • fromのアドレスの方が設定として先になっているので注意

メール本文

echo body | mail -s "subject" -r 'from@example.com' 'to@example.com'

メール本文に日付

date | mail -s "subject" -r 'from@example.com' 'to@example.com'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0