This way I do it to send me an html email Unix . /usr/openv/netbackup/bin/admincmd/bperror -problems -hoursago 24 -U -backstat -l \ nawk ' $19 > 1 { print "<tr>" print "<td>"$12"</td><td>"$14"</td><td>"$16"</td><td bgcolor='red'>"substr($0,index($0,$20))"</td>" print "</tr>" } $19 == 1 { print "<tr>" print "<td>"$12"</td><td>"$14"</td><td>"$16"</td><td bgcolor='orange'>"substr($0,index($0,$20))"</td>" print "</tr>" } $19 == 0 { print "<tr>" print "<td>"$12"</td><td>"$14"</td><td>"$16"</td><td>"substr($0,index($0,$20))"</td>" print "</tr>" } ' >>$OUTFILE ---------------------------
This report shows failure and success where $19 = 0 Success $19 = 1 ( partial success) $19 > 1 ( total failure and reason) Windows Written a VBscript to send mail using blat. ( not formatted like above just dump) Let me know if you want any of the above scripts. Cheers
_______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu