X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fscripts%2Fcrontab.sh;h=06cb81654aaa69600992ee60a636ee291be370be;hb=6b229b2d85552d78fcbce805248f87559f7f6df8;hp=b3528cee6d3f811c702bd9f91f1b07f59af7b181;hpb=233cdc9aa6d59db5f02997a7aa452462f1b47c4a;p=helm.git diff --git a/helm/software/matita/scripts/crontab.sh b/helm/software/matita/scripts/crontab.sh index b3528cee6..06cb81654 100644 --- a/helm/software/matita/scripts/crontab.sh +++ b/helm/software/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,15 +65,15 @@ fi if [ "$DELTA" -lt 0 ]; then PERC=0 else - PREC=`lua50 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 <