src/utils/qa/cronLinks.csh 1.5

1.5 2009/04/11 00:37:02 rhead
Sourced new qaConfig file at the top. Changed -h hgwbeta lines to look for sql host stored in a variable, specified in the new qaConfig file.
Index: src/utils/qa/cronLinks.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/cronLinks.csh,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 1000000 -r1.4 -r1.5
--- src/utils/qa/cronLinks.csh	13 Oct 2008 23:08:07 -0000	1.4
+++ src/utils/qa/cronLinks.csh	11 Apr 2009 00:37:02 -0000	1.5
@@ -1,48 +1,49 @@
 #!/bin/tcsh
+source `which qaConfig.csh`
 
 ################################
 #  
 #  02-24-07
 #  Robert Kuhn & Archana Thakkapallayil
 #
 #  runs linkChecker automatically
 #
 ################################
 
 set dateString=""
 
 if ( $#argv != 1 ) then
   echo
   echo "  runs linkChecker automatically"
   echo
   echo "    usage:  go"
   echo
   exit
 endif
 
 if ( "$HOST" != "hgwdev" ) then
  echo "\n error: you must run this script on dev!\n"
  exit 1
 endif
 
 set dirPath="/usr/local/apache/htdocs"
 set machine="genome-test.cse.ucsc.edu"
 set directory="qa/test-results/staticLinks"
 set dateString=`date +%Y-%m-%d`
 
 if ( ! -d $dirPath/$directory/$dateString ) then
   mkdir $dirPath/$directory/$dateString
 endif
 
 nice checkAllStaticLinks.csh all $dateString >& $dirPath/$directory/$dateString/links.$dateString
 if ( $status ) then
   echo "\nerror.  possibly exclude file does not exist.  quitting.\n"
   exit 1
 endif
 
 echo "link-checking complete"
 date
 echo "results at:"
 echo "http://$machine/$directory/$dateString/linkCheck.all.$dateString"