From: Claudio Sacerdoti Coen Date: Fri, 28 Oct 2005 21:30:36 +0000 (+0000) Subject: sql query fixed X-Git-Tag: V_0_7_2_3~169 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=2d8c6b98436ec14fbee75414e76317313bb6b2ed;p=helm.git sql query fixed --- diff --git a/helm/matita/scripts/crontab.sh b/helm/matita/scripts/crontab.sh index ba63e00d2..f1f28356c 100644 --- a/helm/matita/scripts/crontab.sh +++ b/helm/matita/scripts/crontab.sh @@ -12,7 +12,7 @@ cvs -d $CVSROOT co helm/matita/scripts 1>/dev/null 2>/dev/null helm/matita/scripts/profile_cvs.sh 2> LOG CUR_TIME=`/usr/bin/php4 -c /etc/php4/apache/php.ini - shell_adder.php -- public_html/common.php "select SEC_TO_TIME(SUM(TIME_TO_SEC(time))) from bench where mark = \"$MARK\" group by mark;"` -OLD_TIME=`/usr/bin/php4 -c /etc/php4/apache/php.ini - shell_adder.php -- public_html/common.php "select mark, SEC_TO_TIME(SUM(TIME_TO_SEC(time))) from bench where mark = \"$LASTMARK\" group by mark;"` +OLD_TIME=`/usr/bin/php4 -c /etc/php4/apache/php.ini - shell_adder.php -- public_html/common.php "select SEC_TO_TIME(SUM(TIME_TO_SEC(time))) from bench where mark = \"$LASTMARK\" group by mark;"` if [ -z "$CUR_TIME" -o -z "$OLD_TIME" ]; then echo "No benchamks records for $MARK"