Operating System - HP-UX
1834156 Members
2362 Online
110064 Solutions
New Discussion

Re: How to send system report

 
YOGI_3
Frequent Advisor

How to send system report

Hi all,
Wana help...
I want to know how to send the system report to a partcular mail ID at some particular time?
I am using 11.11

Thanx,
Yogesh
There is never a wrong time to do the right things
3 REPLIES 3
Peter Godron
Honored Contributor

Re: How to send system report

Yogesh,
use cron and sendmail ?! (man crontab)
Regards
Pete Randall
Outstanding Contributor

Re: How to send system report

Yogesh,

You could use cron to invoke a script that would send the report as an attachment. See Jordan's response in this thread for the mailx command:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=22378


Pete

Pete
harry d brown jr
Honored Contributor

Re: How to send system report

uuencode yourfile yourfile.txt |mailx -m -s "Heading for email"

The "yourfile.txt" is a tag to the uuencode that allows your receiving mail client to think its a text message. Your real file is "yourfile".

live free or die
harry d brown jr
Live Free or Die