6d65d261218d44d751559cc954b8c9df83c1558a lrnassar Thu Mar 16 16:46:49 2023 -0700 Commenting out a verbose line so this cron is silent unless it finds a difference in gbdb. No RM. diff --git src/utils/qa/checkGbdbDiffs.csh src/utils/qa/checkGbdbDiffs.csh index 9ad122b..aa64171 100755 --- src/utils/qa/checkGbdbDiffs.csh +++ src/utils/qa/checkGbdbDiffs.csh @@ -52,26 +52,27 @@ set twoFiles=`ls -ltr $outpath | grep all | tail -2 | awk '{print $NF}'` set file1=`echo $twoFiles | awk '{print $1}'` set file2=`echo $twoFiles | awk '{print $2}'` echo "files: $file1 $file2\n" > $outpath/gbdbDiff.$todayDate diff $outpath/$file1 $outpath/$file2 >> $outpath/gbdbDiff.$todayDate if ( $status ) then set lost=`grep "<" $outpath/gbdbDiff.$todayDate | wc -l` set new=`grep ">" $outpath/gbdbDiff.$todayDate | wc -l` echo echo " $lost files lost" echo " $new new files" echo " see: $urlpath/gbdbDiff.$todayDate" echo else rm -f $outpath/gbdbDiff.$todayDate - echo "\n files match: $file1 $file2\n" +# Comment out this line so have silent output +# echo "\n files match: $file1 $file2\n" endif # remove files a year old set lastYear=`getMonthLastYear.csh go | sed "s/-//"` # throw away output below because rm complains about no match for # the globbing character during most of the month rm -f $outpath/gbdb*${lastYear}* >& /dev/null exit