src/utils/qa/syncAday.csh 1.9
1.9 2009/05/22 18:46:25 kuhn
modified usage statement
Index: src/utils/qa/syncAday.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/syncAday.csh,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/utils/qa/syncAday.csh 5 May 2009 23:13:56 -0000 1.8
+++ src/utils/qa/syncAday.csh 22 May 2009 18:46:25 -0000 1.9
@@ -1,42 +1,42 @@
#!/bin/tcsh
source `which qaConfig.csh`
################################
#
# 02-24-07
# Robert Kuhn
#
# runs sync on the database of the day.
#
################################
if ( $#argv != 1 ) then
echo
- echo " runs sync on the database of the day."
+ echo " checks for table sync on all machines for database of the day."
echo " replaces file in htdocs if run again same day."
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 basePath='/usr/local/apache/htdocs/qa/test-results/sync'
set db=`databaseAday.csh today`
rm -f $basePath/$db
echo "\n$db\n" >> $basePath/$db
# checkSync.csh $db times >> $basePath/$db
checkSync.csh $db hgwbeta hgw2 times >> $basePath/$db
checkSync.csh $db hgw2 hgw3 times >> $basePath/$db
checkSync.csh $db hgw3 hgw4 times >> $basePath/$db
checkSync.csh $db hgw5 hgw6 times >> $basePath/$db
checkSync.csh $db hgw7 hgw8 times >> $basePath/$db
cat $basePath/$db
echo "http://hgwdev.cse.ucsc.edu/qa/test-results/sync/$db" | mail -s "sync for today" $USER@soe.ucsc.edu