X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fscripts%2Fcrontab.sh;h=f4c7b4a8e67adf341b212fe7da73ed3c3dd8d6b2;hb=b9af9f1c0de6a1735b492f5c793a87a8fce218cc;hp=03ce5ce9541c5f3d3a3ad8ac63b88e97467345cf;hpb=fb53caa837dad54352753c100094027dd8e45334;p=helm.git diff --git a/helm/matita/scripts/crontab.sh b/helm/matita/scripts/crontab.sh index 03ce5ce95..f4c7b4a8e 100644 --- a/helm/matita/scripts/crontab.sh +++ b/helm/matita/scripts/crontab.sh @@ -1,4 +1,6 @@ +#!/bin/bash MARK=`date +%Y%m%d` +LASTMARK=`date -d yesterday +%Y%m%d` TMPDIRNAME=.__${MARK}_crontab CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm" @@ -9,21 +11,51 @@ cd $TMPDIRNAME cvs -d $CVSROOT co helm/matita/scripts 1>/dev/null 2>/dev/null helm/matita/scripts/profile_cvs.sh 2> LOG -cat <