Re: How to configure cron (and pam?) to allow mail from cron?
On Sat, Nov 14, 2015 at 8:36 PM, Gene Heskett <gheskett@shentel.net> wrote:
> On Saturday 14 November 2015 17:58:59 Kynn Jones wrote:
>
>> I'm trying to set up a `cron` job that will send me mail for some
>> outputs.
>>
>> In my `crontab` I have the `MAILTO` variable set to my email address,
>> as well as the directives
>>
>> * * * * * /bin/date >> /tmp/debug_cron
>> * * * * * /bin/date >&2
> On the machine, MAILTO: is not normally to your email address, but
> usually is username@localhost.
Oh, I see. That makes cron's mail feature significantly less
useful/convenient than I thought.
Thanks!
kj
Reply to: