X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fscripts%2Fcrontab.sh;h=06cb81654aaa69600992ee60a636ee291be370be;hb=190662b877ba89ccb152f0bf5c67df62be737335;hp=51e090d98dfedc3a2823d0cedcada5c23d05e5c3;hpb=09a8511f70bc21c74beff39700dbbe01b2bf3235;p=helm.git diff --git a/matita/scripts/crontab.sh b/matita/scripts/crontab.sh index 51e090d98..06cb81654 100644 --- a/matita/scripts/crontab.sh +++ b/matita/scripts/crontab.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -x +#set -x #configuration TODAY=`date +%Y%m%d` @@ -15,7 +15,7 @@ SQLQMARK="select distinct mark from bench where mark like '%s%%' order by mark;" SQLQTIME="select SUM(timeuser) from bench where mark = '%s' group by mark;" SQLQFAILCOUNT="select count(distinct test) from bench where mark = '%s' and result = 'fail';" SQLQFAIL="select distinct test from bench where mark = '%s' and result = 'fail';" -URL="http://mowgli.cs.unibo.it/~tassi/bench.php" +URL="http://mowgli.cs.unibo.it/~sacerdot/bench.php" #initialization OLD=$PWD @@ -65,7 +65,7 @@ fi if [ "$DELTA" -lt 0 ]; then PERC=0 else - PREC=`lua5.1 scripts/functions.lua proportion $DELTA x $OLD_TIME 100` + PERC=`lua5.1 scripts/functions.lua proportion $DELTA x $OLD_TIME 100` fi if [ "$PERC" -ge 5 ]; then cat < $TMP1 + printf "$SQLQFAIL" "$LASTMARK" | $MYSQL > $TMP2 + combine $TMP1 not $TMP2 > $TMP3 + cat <