Re: [ILUG] Cron

From: Colm Buckley (colm at domain tuatha.org)
Date: Wed 20 Jun 2001 - 16:32:42 IST


On Wednesday 20 June 2001 15:57, Jason A. Corcoran. wrote:

> I have a cron job set up to fetchmail every 5 mins, how do I stop the crom
> mail generated being sent to my account, I want it sent to an admin
> account.

Cron jobs only send mail if they produce output, so either redirect
the output of the job to a file, or set MAILTO to change the person
the job is mailed to. See "man 5 crontab" for details.

        Colm (why didn't you "see 'man 5 crontab'" *first*)

-- 
Colm Buckley  at domain  NewWorld Commerce
Business: +353 1 4334334  / colm at domain nwcgroup.com / http://www.nwcgroup.com/
Personal: +353 87 2469146 / colm at domain tuatha.org / http://www.tuatha.org/~colm/
Change is inevitable...  except from vending machines.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:46 GMT