Send email from planetdump script.
authorMatt Amos <zerebubuth@gmail.com>
Wed, 31 Dec 2014 13:11:01 +0000 (13:11 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 31 Dec 2014 13:11:01 +0000 (13:11 +0000)
commit2048bb113a8028ed340150e17c1bfc9fd90d31ef
tree3b8367d27731904aff1ee18f1ff7ea72cd02d216
parenta50480f4da6d6f91a536763a0861ba5dcaa5c4f3
Send email from planetdump script.

It seems that incron doesn't yet support sending email directly
using something like cron's `MAILTO` environment variable [1],
but I'd like to see the output to ensure that everything has
gone smoothly.

[1] http://inotify.aiken.cz/?section=incron&page=faq (see
    "Q: Can I catch outputs of executed commands?"
cookbooks/planet/templates/default/planetdump.erb