/[MITgcm]/mitgcm.org/scripts/check_outp
ViewVC logotype

Diff of /mitgcm.org/scripts/check_outp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.45 by jmc, Wed Dec 16 23:29:11 2015 UTC revision 1.46 by jmc, Thu Dec 17 23:51:18 2015 UTC
# Line 224  BEFORE="30000000" Line 224  BEFORE="30000000"
224  OUTPFIL=`basename $0`'.log'  OUTPFIL=`basename $0`'.log'
225  NBLDIFF=5  NBLDIFF=5
226  ADDRESS='none'  ADDRESS='none'
227    MAILCMD="mail"
228  dBug=f  dBug=f
229  t4update=0  t4update=0
230  sTime=`date`  sTime=`date`
# Line 561  echo "End time:    "`date` | tee -a $OUT Line 562  echo "End time:    "`date` | tee -a $OUT
562  rm -f $TMP.dir_all $TMP.slist $TMP.plist  rm -f $TMP.dir_all $TMP.slist $TMP.plist
563  if test $OUTPFIL = "TTT.$$" ; then rm -f $OUTPFIL ; fi  if test $OUTPFIL = "TTT.$$" ; then rm -f $OUTPFIL ; fi
564  if test "x$ADDRESS" != 'xnone' ; then  if test "x$ADDRESS" != 'xnone' ; then
565    echo ".. send $OUTPSUM to $ADDRESS"    #- change default sender address ("From:") using "mail -r" option
566    mail -s 'check_outp summary' $ADDRESS < $OUTPSUM    #  since, by default, baudelaire uses USER@localhost.localdomain
567      fullNam=`hostname -A | awk '{print $1}'`
568      MAILCMD="$MAILCMD -r ${USER}@${fullNam}"
569      #---
570      echo ".. send $OUTPSUM to '$ADDRESS' using '$MAILCMD'"
571      $MAILCMD -s 'check_outp summary' $ADDRESS < $OUTPSUM
572  fi  fi
573  echo ".. cat $OUTPSUM"  echo ".. cat $OUTPSUM"
574  cat $OUTPSUM  cat $OUTPSUM

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.22