Re: Hi Can I tell root mail (from Cron) to go Elseware?
From: Joseph Haig (jrmhaig_at_yahoo.co.uk)
Date: 09/29/05
- Previous message: Alvin Oga: "Re: GRUB woes (install to hde)"
- In reply to: Fred OGrady: "Hi Can I tell root mail (from Cron) to go Elseware?"
- Next in thread: Maurits van Rees: "Re: Hi Can I tell root mail (from Cron) to go Elseware?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Sep 2005 08:30:13 +0100 (BST) To: fred.ogrady@gmail.com, "debian-user@lists.debian.org" <debian-user@lists.debian.org>
--- 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
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Alvin Oga: "Re: GRUB woes (install to hde)"
- In reply to: Fred OGrady: "Hi Can I tell root mail (from Cron) to go Elseware?"
- Next in thread: Maurits van Rees: "Re: Hi Can I tell root mail (from Cron) to go Elseware?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|