src/utils/qa/tableDumpDates.csh 1.2

1.2 2009/04/11 00:37:05 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/tableDumpDates.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/tableDumpDates.csh,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/utils/qa/tableDumpDates.csh	16 Sep 2008 22:25:44 -0000	1.1
+++ src/utils/qa/tableDumpDates.csh	11 Apr 2009 00:37:05 -0000	1.2
@@ -1,35 +1,36 @@
 #!/bin/tcsh
+source `which qaConfig.csh`
 
 ###############################################
 #
 #  09-16-2008
 #  Ann Zweig
 #
 #  Checks to see if the tables are being dumped 
 #  from the RR machines in a timely manner.
 #
 ###############################################
 
 set counter=( 1 2 3 4 5 6 7 8 )
 
 if ($#argv != 1 ) then
   echo
   echo "  get date of latest table dumps from rr machines."
   echo
   echo "    usage: go"
   echo
   exit
 endif
 
 # run only from hgwdev
 if ( "$HOST" != "hgwdev" ) then
   echo "\nERROR: you must run this script on hgwdev!\n"
   exit 1
 endif
 
 foreach i ( $counter )
   ls -lt /cluster/data/genbank/var/tblstats/hgw[$i] | head -n2 | egrep -v total \
   | awk '{print $9}'
 end