Re: Hi Can I tell root mail (from Cron) to go Elseware?
--- Fred OGrady <fred.ogrady@gmail.com> wrote:
> Hi everyone.
> I would like to send these messages to my gmail account instead. any
> ideas?
Yes. 'man cron' says the following:
"When executing commands, any output is mailed to the owner of the
crontab (or to the user named in the MAILTO environment variable
in the crontab if such exists)."
So at the start of your crontab you need a line with something like:
MAILTO=<your address>
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Reply to: