Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7914)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7915)
@@ -59,4 +59,5 @@
    * datacenter/scripts/setup: 
      - added (file to store setup variables, which might be changed)
+     - new root version
 
    * datacenter/scripts/copyscript: 
@@ -94,4 +95,14 @@
      datacenter/scripts/writesequencefiles:
      - improved logging and comments
+
+   * datacenter/scripts/buildsequenceentries, 
+     datacenter/scripts/checkfilesforsequenceavail, 
+     datacenter/scripts/checkstardone, datacenter/scripts/correcttime, 
+     datacenter/scripts/dodatacheck, datacenter/scripts/doexclusions, 
+     datacenter/scripts/fillcallisto, datacenter/scripts/fillganymed, 
+     datacenter/scripts/fillstar, datacenter/scripts/runcallisto, 
+     datacenter/scripts/runganymed, datacenter/scripts/runstar,
+     datacenter/scripts/writesequencefiles: 
+     - remove todofile when it has been read 
 
    * datacenter/scripts/scriptlauncher: 
Index: trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7915)
@@ -63,8 +63,9 @@
    finish >> $scriptlog 2>&1
 fi
+echo "dates: "${dates[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
-echo "dates: "${dates[@]} >> $scriptlog 2>&1
 for date in ${dates[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7915)
@@ -61,8 +61,9 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7915)
@@ -61,8 +61,9 @@
    finish >> $scriptlog 2>&1
 fi
+echo "datasets: "${datasets[@]} #>> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
-echo "datasets: "${datasets[@]} #>> $scriptlog 2>&1
 for dataset in ${datasets[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/correcttime
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7915)
@@ -60,8 +60,9 @@
    finish >> $scriptlog 2>&1
 fi
+echo "runs: "${runs[@]}
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
-echo "runs: "${runs[@]}
 for run in ${runs[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7915)
@@ -85,9 +85,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "runs: "${runs[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # processing run(s)
-echo "runs: "${runs[@]} >> $scriptlog 2>&1
 for run in ${runs[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7915)
@@ -62,9 +62,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "dates: "${dates[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # do exclusions for each date in the todo file
-echo "dates: "${dates[@]} >> $scriptlog 2>&1
 for date in ${dates[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7915)
@@ -63,9 +63,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # fill information into the database for all sequences in the todo file
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7915)
@@ -63,9 +63,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # run fillganymed for datasets
-echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
 for dataset in ${datasets[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7915)
@@ -64,9 +64,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # run fillstar for sequences
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7915)
@@ -91,9 +91,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # run calibration for sequence(s)
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/runganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7915)
@@ -87,7 +87,8 @@
    finish >> $scriptlog 2>&1
 fi
+echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 # run ganymed for dataset
-echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
 for dataset in ${datasets[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/runstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7915)
@@ -87,9 +87,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # run star for sequence
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
Index: trunk/MagicSoft/Mars/datacenter/scripts/setup
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/setup	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/setup	(revision 7915)
@@ -29,5 +29,5 @@
 #
 
-export ROOTSYS=/opt/root_v4.04.02g
+export ROOTSYS=/opt/root_v5.12.00b-cvs
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
 export PATH=$PATH:$ROOTSYS/bin
@@ -52,6 +52,6 @@
 
 #setup for jobmanager
-sleeptime=3 #30
-errorsleeptime=10 #180
+sleeptime=30 #30
+errorsleeptime=180 #180
 max=16 #maximum number of processes
 #log files (can't be defined in script itself, as script can run longer 
Index: trunk/MagicSoft/Mars/datacenter/scripts/webupdate-callisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/webupdate-callisto	(revision 7915)
+++ trunk/MagicSoft/Mars/datacenter/scripts/webupdate-callisto	(revision 7915)
@@ -0,0 +1,49 @@
+#!/bin/sh
+#
+# ========================================================================
+#
+# *
+# * This file is part of MARS, the MAGIC Analysis and Reconstruction
+# * Software. It is distributed to you in the hope that it can be a useful
+# * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
+# * It is distributed WITHOUT ANY WARRANTY.
+# *
+# * Permission to use, copy, modify and distribute this software and its
+# * documentation for any purpose is hereby granted without fee,
+# * provided that the above copyright notice appear in all copies and
+# * that both that copyright notice and this permission notice appear
+# * in supporting documentation. It is provided "as is" without express
+# * or implied warranty.
+# *
+#
+#
+#   Author(s): Daniela Dorner  08/2006 <mailto:dorner@astro.uni-wuerzburg.de>
+#
+#   Copyright: MAGIC Software Development, 2000-2006
+#
+#
+# ========================================================================
+#
+#
+
+
+source `dirname $0`/sourcefile
+
+date
+
+echo "do plots for all root-files (callisto) ..."
+$scriptspath/dowebplots -p callisto
+
+
+echo "do rsync for callisto files"
+rsync -av --delete --exclude=*/*/*_E[.]root --exclude=*/*/callisto.rc $datapath/callisto/ $webpath/callisto
+
+#echo "do rsync for subsystem files"
+rsync -av --delete /magic/subsystemdata/ $webpath/subsystemdata
+
+echo "do rsync for sequence files"
+rsync -av --delete /magic/sequences/ $webpath/sequences
+
+date
+
+
Index: trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7915)
@@ -63,9 +63,10 @@
    finish >> $scriptlog 2>&1
 fi
+echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
+rm -v $todofile >> $scriptlog 2>&
 
 cd $mars
 
 # write sequence file for all sequences in todo file
-echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
 for sequence in ${sequences[@]}
 do 
