3729c3c6b2ac6dab93c80c3dcccc9151f66da151 lrnassar Thu Mar 16 16:46:04 2023 -0700 Appending the date to the log file so the email is clear adnt he cron only messages when there is an error, no RM. diff --git src/utils/qa/hubSearchUpdate src/utils/qa/hubSearchUpdate index 70d64d9..be026a0 100755 --- src/utils/qa/hubSearchUpdate +++ src/utils/qa/hubSearchUpdate @@ -1,11 +1,11 @@ # Updates hubSearchText table, run by cron for auto-push # Created by Dan 4/20/21, deleted and remade 5/18/21 #!/bin/sh -e PATH=/cluster/bin/x86_64:$PATH -date +date >> /hive/groups/browser/hubCrawl/hubSearchText.log cd /hive/groups/browser/hubCrawl nohup ./doPublicCrawl &> /dev/null #Send stdout & stderr to /dev/null echo "HubSearchText Dev cron-updated on `date`. Exit status: $?" >> /hive/groups/browser/hubCrawl/hubSearchText.log #Return exit status of prev command, 0 = no issue