e73767fd1017611f858e067f55f3557a99f983f4 hiram Wed Dec 1 12:28:40 2021 -0800 adding Lou email for the notices refs #28331 diff --git src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh index 48d1d89..b3a96f2 100755 --- src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh +++ src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh @@ -2,40 +2,40 @@ set -beEu -o pipefail export TOP="/hive/data/outside/otto/ncbiRefSeq" cd "${TOP}" export db="$1" export Db="$2" export sumFile="$3" export asmId="$4" export wrkDir="$5" export gffFile="$6" export msgFile="/tmp/refSeqUpdateNotice.msg.txt" function prevCompleted() { - printf "To: hclawson@ucsc.edu\n" > ${msgFile} + printf "To: hclawson@ucsc.edu,lrnassar@ucsc.edu\n" > ${msgFile} printf "From: hiram@soe.ucsc.edu\n" >> ${msgFile} printf "Subject: $db ncbiRefSeq is not needed\n" >> ${msgFile} printf "\n" >> ${msgFile} printf "$db ncbiRefSeq is not needed\n" >> ${msgFile} cat $msgFile | /usr/sbin/sendmail -t -oi } function inProgress() { - printf "To: hclawson@ucsc.edu\n" > ${msgFile} + printf "To: hclawson@ucsc.edu,lrnassar@ucsc.edu\n" > ${msgFile} printf "From: hiram@soe.ucsc.edu\n" >> ${msgFile} printf "Subject: ALERT: $db ncbiRefSeq update in progress\n" >> ${msgFile} printf "\n" >> ${msgFile} printf "ALERT: $db ncbiRefSeq update in progress\n" >> ${msgFile} cat $msgFile | /usr/sbin/sendmail -t -oi } srcSum=`md5sum "${gffFile}" | cut -d' ' -f1` prevSum=`cat ${sumFile}` if [ "${srcSum}" != "${prevSum}" ]; then inProgress $db if [ ! -d "${wrkDir}" ]; then mkdir "${wrkDir}" cd "${wrkDir}"