9756377e6ca94e0ffbf5a838e5b410f301bdda02
mspeir
  Thu Jan 30 10:01:43 2020 -0800
Removing non-functioning if statement around removing old log files from qaAutoTrack, no redmine.

diff --git src/utils/qa/runQaAutoTrack.sh src/utils/qa/runQaAutoTrack.sh
index 9c5f56e..b4593e8 100755
--- src/utils/qa/runQaAutoTrack.sh
+++ src/utils/qa/runQaAutoTrack.sh
@@ -59,35 +59,32 @@
 	fi
 fi
 
 if [[ $logDir == "" ]]
 then
 	logDir="/usr/local/apache/htdocs-genecats/qa/test-results/qaAutoTrackLogs"
 fi
 
 # Print usage statement if the supplied argument isn't "go"
 if [[ $runScript != "go" ]]
 then
 	echo -e $usage
 	exit 1
 # Run qaAutoTrack.sh for different tracks depending on the day of the week
 else
-	if [ -e  "$logDir/*.txt" ]
-	then
 	# Identify and remove log files that are greater than 6 months old.
 	find $logDir -mtime +182 -name *.txt -exec rm {} +
-	fi
 
 	if [[ $dayOfWeek == "Monday" ]]
 	then
 		qaAutoTrack.sh hg19 isca 
 		qaAutoTrack.sh hg38 isca 
 		qaAutoTrack.sh hg19 decipher 
 		qaAutoTrack.sh hg19 geneReviews 
 		qaAutoTrack.sh hg38 geneReviews 
 	elif [[ $dayOfWeek == "Tuesday" ]]
 	then
 		qaAutoTrack.sh hg18 lovd 
 		qaAutoTrack.sh hg19 gwasCatalog 
 		qaAutoTrack.sh hg38 gwasCatalog 
 	elif [[ $dayOfWeek == "Wednesday" ]]
 	then