Operating System - HP-UX
1829108 Members
15175 Online
109986 Solutions
New Discussion

make_net_recovery email notification

 
SOLVED
Go to solution
Balaji_5
Advisor

make_net_recovery email notification

I use make_net_recovery to take an image of my clients on the ignite server, and scheduled through root cron to run monthly. Is there any way I can include email notification of the recovery log file..
6 REPLIES 6
Prashant Zanwar_4
Respected Contributor

Re: make_net_recovery email notification

How about after make_net_recovery is over, send the report file to your ID. This will imply what you want. And you can do some grep on the file to know status and subject line can be that.

Hope this helps
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Balaji_5
Advisor

Re: make_net_recovery email notification

The recovery.log file is on the ignite server. How do I include the line in my script on the client to read this file..
Prashant Zanwar_4
Respected Contributor

Re: make_net_recovery email notification

I dont have make_net_recovery in my setup. Attach the file here so as to see the contents to check.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Cheryl Griffin
Honored Contributor

Re: make_net_recovery email notification

Steven E. Protter
Exalted Contributor

Re: make_net_recovery email notification

I run such a job weekly from cron

scriptname | mailx -s "net recovery archive" steve@my.net


Also attaching a sendmail script that can be called to send log files as attachments.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom Danzig
Honored Contributor
Solution

Re: make_net_recovery email notification

Here's one I wrote and currently use. It runs every day on the servers to back up and the schedule is determined by the script.