]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/scripts/crontab.sh
attempt to move nightly profiling to svn
[helm.git] / helm / matita / scripts / crontab.sh
index b545b108dc5968353d49b9d21a1a3181201da2e0..d5b58194335d9aa9e2dceae9c344f45d561ff9e3 100644 (file)
@@ -3,7 +3,7 @@ TODAY=`date +%Y%m%d`
 YESTERDAY=`date -d yesterday +%Y%m%d`
 TMPDIRNAME=$HOME/__${TODAY}_crontab
 TMPDIRNAMEOLD=$HOME/__${YESTERDAY}_crontab
-CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm"
+SVNROOT="svn+ssh://mowgli.cs.unibo.it/local/svn/helm/trunk/"
 SHELLTIME2CENTSPHP=helm/matita/scripts/shell_time2cents.php
 SHELLADDERPHP=helm/matita/scripts/shell_adder.php
 COMMONPHP=helm/matita/scripts/public_html/common.php
@@ -14,8 +14,8 @@ mkdir -p $TMPDIRNAME
 rm -rf $TMPDIRNAMEOLD
 cd $TMPDIRNAME
 rm -rf helm
-cvs -d $CVSROOT co helm/matita/scripts 1>/dev/null 2>/dev/null
-helm/matita/scripts/profile_cvs.sh 2> LOG
+svn co ${SVNROOT}helm/matita/scripts/profile_svn.sh ./ > LOG.svn 2>&1
+profile_svn.sh 2> LOG
 
 MARK=`echo "select distinct mark from bench where mark like '$TODAY%' order by mark" | mysql -u helm matita | tail -n 1`
 LASTMARK=`echo "select distinct mark from bench where mark like '$YESTERDAY%' order by mark" | mysql -u helm matita | tail -n 1`