Hi,

I have been running a bash script which monitors a web site every ten minutes and 
sends me an email if it detects problems.  It is called with an entry in crontab like 
so:

3,13,23,33,43,53  *  *  *  $HOME/bin/itrust_monitor.sh

and in the .forward file I put my desktop email address like so:  
[EMAIL PROTECTED]

Under Redhat 7.2 it worked like a charm.  I then installed Redhat 8.0 and promptly 
broke it.  The output now goes to /var/spool/mail/david

How do I get the email sent to the correct email address?  In the man pages it says " 
cron mails to the owner of crontab - or the user named in the  MAILTO environment 
variable in the crontab, if such exists. "   I have tried changing the crontab entry 
to :
3,13,23,33,43,53  *  *  * [EMAIL PROTECTED]  
$HOME/bin/itrust_monitor.sh
to no avail.

Can anyone help?

Thanks
David
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to