TODAY=`date +%Y%m%d0200`
YESTERDAY=`date -d yesterday +%Y%m%d0200`
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 2 | head -n 1`
+LASTMARK=`echo "select distinct mark from bench where mark like '$YESTERDAY%' order by mark" | mysql -u helm matita | tail -n 1`
TMPDIRNAME=.__${MARK}_crontab
CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm"
SHELLTIME2CENTSPHP=helm/matita/scripts/shell_time2cents.php