src/utils/qa/tableDumpDates.csh 1.4

1.4 2009/04/22 01:00:30 rhead
Changed back to sourcing the qaConfig file using which, after specifying PATH in the crontab that was having problems running this script.
Index: src/utils/qa/tableDumpDates.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/tableDumpDates.csh,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/utils/qa/tableDumpDates.csh	14 Apr 2009 02:00:58 -0000	1.3
+++ src/utils/qa/tableDumpDates.csh	22 Apr 2009 01:00:30 -0000	1.4
@@ -1,35 +1,36 @@
 #!/bin/tcsh
-source `dirname $0`/qaConfig.csh
+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