Re: Sending log file to an Email Address
- From: Mike Klinke <mklinke@xxxxxxxx>
- Date: Fri, 21 Apr 2006 07:52:25 -0500
On Friday 21 April 2006 07:24, Andrew.Bridgeman@xxxxxxxxxxxxxx
wrote:
I currently run a script via cron on one of our
Redhat machines ( ES version 3) and wanted the output log file to
be sent to my e-mail address so that the log can be checked
easier and i so i do not have to login to the machine every
morning. I am unsure if this can be done but if it can i wondered
what other people had put in place to do this?
One option would be to edit your /etc/aliases file. Find the
section below and plug in your address
======== aliases ===========
# Person who should get root's mail
root: <your-email_address>
=========================
then run "newaliases" at the command prompt. After that, all mail
destined for the "root" account will be sent to your email-address.
Regards, Mike Klinke
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Sending log file to an Email Address
- From: Andrew . Bridgeman
- Sending log file to an Email Address
- Prev by Date: RE: Sending log file to an Email Address
- Next by Date: RE: Sending log file to an Email Address
- Previous by thread: Sending log file to an Email Address
- Next by thread: Re: Sending log file to an Email Address
- Index(es):