From: Hong Wang (hwang@haverford.edu)
Date: Mon Mar 31 2003 - 11:18:00 EST
We have backup script running nightly on solrais2.6. And we are supposed to
get the email for the backup result. But we don't get the result through
the email. (The dump result shows the backup has been done.) The script is :
set RECEIVERS = "backup-people@haverford.edu"
set TMPFILE = /opt/tools/dumpresults
/bin/rm -f $TMPFILE
echo "Results from dump commands on `hostname`" >>! $TMPFILE
echo >>! $TMPFILE
# This is a script to run nightly ufsdump of the file systems locally.
ufsdump 0uf /dev/rmt/0hn / >>&! $TMPFILE
cat $TMPFILE | /usr/ucb/mail -s "`hostname` UFSDUMP REPORT ON `date`"
$RECEIVERS
unset TMPFILE
unset RECEIVERS
The sendmail process is running.
Any idea?
Thanks in advance!
Hong
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:05 EDT