Index: trunk/MagicSoft/Mars/datacenter/scripts/webupdate-star
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/webupdate-star	(revision 7916)
+++ trunk/MagicSoft/Mars/datacenter/scripts/webupdate-star	(revision 7944)
@@ -29,20 +29,23 @@
 
 source `dirname $0`/sourcefile
+printprocesslog "INFO starting $0"
 
-date
+scriptlog=$runlogpath/webupdate-star-$datetime.log
+date >> $scriptlog 2>&1
 
-echo "do plots for all root-files (star) ... "
+echo "do plots for all root-files (star) ... " >> $scriptlog 2>&1
 $scriptspath/dowebplots -p star
 
-echo "do rsync for star files"
-rsync -av --delete --exclude=*/*/*_E[.]root $datapath/star/ $webpath/star
+echo "do rsync for star files" >> $scriptlog 2>&1
+rsync -av --delete --exclude=*/*/*_E[.]root $datapath/star/ $webpath/star >> $scriptlog 2>&1
 
-echo "do rsync for star files from la palma"
-rsync -av --delete --exclude=*/*_E[.]root --exclude=*/Time*.dat /scratch/lapalma/star/ $webpath/star_lapalma
+echo "do rsync for star files from la palma" >> $scriptlog 2>&1
+rsync -av --delete --exclude=*/*_E[.]root --exclude=*/Time*.dat /scratch/lapalma/star/ $webpath/star_lapalma >> $scriptlog 2>&1
 
-echo "do rsync for sequence files"
-rsync -av --delete /magic/sequences/ $webpath/sequences
+echo "do rsync for sequence files" >> $scriptlog 2>&1
+rsync -av --delete /magic/sequences/ $webpath/sequences >> $scriptlog 2>&1
 
-date
+date >> $scriptlog 2>&1
 
+printprocesslog "INFO $0 finished"
 
