Re: cron and MAILTO
On Mon, Dec 19, 2011 at 03:34:27PM GMT, T o n g wrote:
> On Mon, 19 Dec 2011 09:09:19 +0000, Raf Czlonka wrote:
>
> > % man 5 crontab
>
> I guess I assumed someone would be thoughtful enough to find out in OP
> that I said I know it works for crontab.
File in /etc/cron.d ARE crontabs and the man page concerns them,
/etc/crontab and user crontabs.
> > It would've been quicker if you had tested it yourself or RTFM.
>
> Who says I didn't test myself?
Why did you ask the question below then?
Clearly you hadn't RTFM.
Had you done so, you wouldn't have send the email to the list.
> BTW,
>
> >> Now, if I put 'MAILTO=user3' at the top of the file, what will happen?
>
> JFTA, cron messages all went to user3.
Exactly as the manual, which I quoted, said it would.
Regards,
--
Raf
Reply to: