b29210d7c090241d05bf826c518787818613a467 chmalee Tue Oct 24 11:47:04 2023 -0700 Go down one more level when generating public hubs search indexes, refs #30253 diff --git src/utils/qa/hubSearchUpdate src/utils/qa/hubSearchUpdate index 93e67cc..0c31d7e 100755 --- src/utils/qa/hubSearchUpdate +++ src/utils/qa/hubSearchUpdate @@ -1,20 +1,20 @@ #!/bin/sh -e # Updates hubSearchText table, run by cron for auto-push date >> /hive/groups/browser/hubCrawl/hubSearchText.log cd /hive/groups/browser/hubCrawl nohup ./doPublicCrawl &> /dev/null #Send stdout & stderr to /dev/null EXIT_STATUS=$? echo "HubSearchText Dev cron-updated on `date`. Exit status: $EXIT_STATUS" >> /hive/groups/browser/hubCrawl/hubSearchText.log #Return exit status of prev command, 0 = no issue if [ $EXIT_STATUS -eq 0 ]; then # the below command updates the files in the following directory: # /gbdb/hgFixed/search/hubs/ # which contains symlinks to /hive/data/inside/search/ # the contents of /gbdb/hgFixed/search need to be auto-pushed - cd /hive/data/inside/search/ - ./makeTrackHubs.sh + cd /hive/data/inside/search/hubs + ../makeTrackHubs.sh echo "HubSearchText trix indexes cron-updated on `date`. Exit status: $?" >> /hive/groups/browser/hubCrawl/hubSearchText.log fi