X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fscripts%2Fcrontab.sh;h=d4a2e5e5afbf963054bace194867ed17fdfab120;hb=cd644cf892ccd05a6411f73a76e41924ade236fa;hp=28e628fc906710903bb4b9317121896b7ca75151;hpb=f47ed69f63d2eb99f71e90b519d790e371ad516a;p=helm.git diff --git a/helm/matita/scripts/crontab.sh b/helm/matita/scripts/crontab.sh index 28e628fc9..d4a2e5e5a 100644 --- a/helm/matita/scripts/crontab.sh +++ b/helm/matita/scripts/crontab.sh @@ -2,7 +2,8 @@ TODAY=`date +%Y%m%d` YESTERDAY=`date -d yesterday +%Y%m%d` TMPDIRNAME=$HOME/__${TODAY}_crontab -CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm" +TMPDIRNAMEOLD=$HOME/__${YESTERDAY}_crontab +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 @@ -10,10 +11,11 @@ COMMONPHP=helm/matita/scripts/public_html/common.php OLD=$PWD 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/ > LOG.svn 2>&1 +scripts/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`