b56beb6914a7522fc2b92b0de951dc6ca7de8e28 hiram Wed May 27 14:50:42 2026 -0700 otto cron script to monitor both hgwdev and RR ottoRequest table in hgcentral refs #31811 diff --git src/hg/utils/otto/userRequests/devAndRR.sh src/hg/utils/otto/userRequests/devAndRR.sh new file mode 100755 index 00000000000..9d5d193890b --- /dev/null +++ src/hg/utils/otto/userRequests/devAndRR.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# otto cron job +# 1,8,15,22,29,36,43,50,57 * * * * /hive/data/outside/otto/liftRequest/devAndRR.sh + +# script source from source tree: +# src/hg/utils/otto/userRequests/devAndRR.sh + +cd /hive/data/outside/otto/liftRequest + +# without arguments, will use /usr/local/apache/cgi-bin/hg.conf +# to use hgcentraltest ottoRequest table for hgwdev +/hive/data/outside/otto/liftRequest/ottoRequest.py + +# with this .conf file it will use hgcentral ottoRequest table +export HGDB_CONF=/hive/data/outside/otto/liftRequest/.hg.central.conf +/hive/data/outside/otto/liftRequest/ottoRequest.py \ + --conf=/hive/data/outside/otto/liftRequest/.hg.central.conf