f41fc338ea8d2f30b241f4af099527bcac02b1c8 lrnassar Wed Mar 8 16:54:00 2023 -0800 Ongoing work to standardize otto, removing individual ottomeister in favor of a central email repo people can subscribe to, refs #28331 diff --git src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh src/hg/utils/otto/ncbiRefSeq/runUcscDb.sh index 085937a..0669c50 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,lrnassar@ucsc.edu\n" > ${msgFile} + printf "To: hclawson@ucsc.edu,otto-group@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,lrnassar@ucsc.edu\n" > ${msgFile} + printf "To: hclawson@ucsc.edu,otto-group@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}"