Re: Sending log file to an Email Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux