7e203f571903324078fe784c15d9e753eac2ceb4 lrnassar Thu Jun 13 15:56:30 2024 -0700 Adding the -E flag, we recently silenced this otto job to have an empty body when no output is going out but now it is sending emails with that subject and no content when there is no update. This should cause it to discard the email when no body is found. diff --git src/hg/utils/otto/geneReviews/geneReviewsWrapper.sh src/hg/utils/otto/geneReviews/geneReviewsWrapper.sh index a4302d7..154d6dd 100755 --- src/hg/utils/otto/geneReviews/geneReviewsWrapper.sh +++ src/hg/utils/otto/geneReviews/geneReviewsWrapper.sh @@ -1,8 +1,8 @@ #!/bin/sh -e PATH=/cluster/bin/x86_64:$PATH EMAIL="otto-group@ucsc.edu" WORKDIR="/hive/data/outside/otto/geneReviews" cd $WORKDIR -./checkGeneReviews.sh $WORKDIR 2>&1 | mail -s "GENEREVIEW Build" $EMAIL +./checkGeneReviews.sh $WORKDIR 2>&1 | mail -E -s "GENEREVIEW Build" $EMAIL