4dcf108ba99ec6add9214f7e36b2041b2f950388 hiram Tue Oct 21 14:07:59 2025 -0700 indicate this is the obsolete copy refs #35575 diff --git src/hg/utils/otto/genArk/pushRR/pushRR.sh src/hg/utils/otto/genArk/pushRR/pushRR.sh index 76e39ffac6b..181f431a004 100755 --- src/hg/utils/otto/genArk/pushRR/pushRR.sh +++ src/hg/utils/otto/genArk/pushRR/pushRR.sh @@ -1,42 +1,42 @@ #!/bin/bash ###################################################################### ### this script from the source tree in: ### src/hg/utils/otto/genArk/pushRR/pushRR.sh -### used in an otto cron job: -### 03 01 * * * /hive/data/inside/GenArk/pushRR/pushRR.sh +### obsolete script, current copy is in: +### 03 01 * * * /hive/data/inside/GenArk/pushRR.sh ###################################################################### # exit on any error set -beEu -o pipefail export TOP="/hive/data/inside/GenArk/pushRR" cd "${TOP}" export expectHost="hgwdev" export hostName=$(hostname -s) if [[ "${hostName}" != "${expectHost}" ]]; then printf "ERROR: must run this on %s ! This is: %s\n" "${expectHost}" "${hostName}" 1>&2 exit 255 fi export DS=`date "+%F"` export Y=`date "+%Y"` export M=`date "+%m"` export logDir="${TOP}/logs/${Y}/${M}" mkdir -p "${logDir}" logFile="${logDir}/rsync.${DS}" for M in hgwbeta hgw0 hgw1 hgw2 "Genome-Browser-Mirror-3.dhcp.uni-bielefeld.de" do printf "### sending to machine %s\n" "${M}" >> "${logFile}" time (rsync --delete --stats -a -L --itemize-changes --exclude="alpha.hub.txt" --exclude="beta.hub.txt" --exclude="public.hub.txt" --exclude="user.hub.txt" --exclude="contrib/" "/gbdb/genark/GCA/" "qateam@${M}:/gbdb/genark/GCA/") >> "${logFile}" 2>&1 time (rsync --delete --stats -a -L --itemize-changes --exclude="alpha.hub.txt" --exclude="beta.hub.txt" --exclude="public.hub.txt" --exclude="user.hub.txt" --exclude="contrib/" "/gbdb/genark/GCF/" "qateam@${M}:/gbdb/genark/GCF/") >> "${logFile}" 2>&1 done printf "### running alphaBetaPush \n" >> "${logFile}" time (./alphaBetaPush.pl) >> "${logFile}" 2>&1 gzip "${logFile}"