Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7919)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7920)
@@ -59,4 +59,5 @@
      - moved setup from jobsourcefile to sourcefile
      - added locking for gettodo
+     - make sure that lists- and lock-directory are available
 
    * datacenter/scripts/setup: 
@@ -111,4 +112,5 @@
    * datacenter/scripts/scriptlauncher: 
      - added (script to start submit other scripts to condor)
+     - make sure that lists- and lock-directory are available
 
    * datacenter/scripts/webupdate-callisto, 
Index: trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7920)
@@ -64,5 +64,5 @@
 fi
 echo "dates: "${dates[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7920)
@@ -62,5 +62,5 @@
 fi
 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7920)
@@ -62,5 +62,5 @@
 fi
 echo "datasets: "${datasets[@]} #>> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/correcttime
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7920)
@@ -61,5 +61,5 @@
 fi
 echo "runs: "${runs[@]}
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7920)
@@ -86,5 +86,5 @@
 fi
 echo "runs: "${runs[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7920)
@@ -63,5 +63,5 @@
 fi
 echo "dates: "${dates[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7920)
@@ -64,5 +64,5 @@
 fi
 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7920)
@@ -64,5 +64,5 @@
 fi
 echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7920)
@@ -65,5 +65,5 @@
 fi
 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 7920)
@@ -32,4 +32,7 @@
 source `dirname $0`/sourcefile
 user=`whoami`
+
+makedir $listpath
+makedir $lockpath
 
 notcount=0
Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7920)
@@ -92,5 +92,5 @@
 fi
 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/runganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7920)
@@ -88,5 +88,5 @@
 fi
 echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 # run ganymed for dataset
Index: trunk/MagicSoft/Mars/datacenter/scripts/runstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7920)
@@ -88,5 +88,5 @@
 fi
 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
-rm -v $todofile >> $scriptlog 2>&
+rm -v $todofile >> $scriptlog 2>&1
 
 cd $mars
Index: trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 7919)
+++ trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 7920)
@@ -30,4 +30,7 @@
 source `dirname $0`/sourcefile
 
+makedir $listpath
+makedir $lockpath
+
 sllogpath=$logpath/scriptlauncher/`date +%Y/%m`
 makedir $sllogpath
