47f99864fd3008d6343aeab050b4a5a261d90700 chmalee Tue Jun 4 09:49:49 2019 -0700 Updating mysqlbeta to hgwbeta in omim cronjob, no refs diff --git src/hg/utils/otto/omim/checkOmimUpload.sh src/hg/utils/otto/omim/checkOmimUpload.sh index bbe8896..b8a7842 100755 --- src/hg/utils/otto/omim/checkOmimUpload.sh +++ src/hg/utils/otto/omim/checkOmimUpload.sh @@ -27,31 +27,31 @@ fi cd "${WORKDIR}"/upload rm -f omimGene2.date touch omimGene2.date hgsqlTableDate hg19 omimGene2 omimGene2.date if test \! omimGene2.date -nt upload.omim2.date then echo "No new table." exit 0; fi echo doing upload # assumes hg18 and hg19 have the same tables -hgsql -h mysqlbeta -N -e "SHOW TABLES LIKE 'omim%' " hg19 > omimTables +hgsql -h hgwbeta -N -e "SHOW TABLES LIKE 'omim%' " hg19 > omimTables rm -f omimTableDump.tar omimTableDump.tar.gz for db in hg18 hg19 hg38 do for table in `cat omimTables` do # echo $db.$table.tab >> pushList hgsql -N -e "SELECT * FROM $table" $db > $db.$table.tab tar -rf omimTableDump.tar $db.$table.tab rm $db.$table.tab done done if [ ! -e omimTableDump.tar ] then