Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9106)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9107)
@@ -18,4 +18,16 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2008/08/07 Stefan Ruegamer
+
+   * datacenter/scripts/makecallistolinks
+     - added a condition to prevent the linking of the old Dec04Jan05.rc
+       for mux data
+
+   * datacenter/scripts/cutslices
+     - changed checklock to checklock continue to prevent the program 
+       from exiting if a lock file already exists
+
+
 
  2008/08/06 Daniela Dorner
Index: trunk/MagicSoft/Mars/datacenter/scripts/cutslices
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/cutslices	(revision 9106)
+++ trunk/MagicSoft/Mars/datacenter/scripts/cutslices	(revision 9107)
@@ -41,5 +41,5 @@
 
 # query db 20 times for jobs
-for ((j=0 ; j < 20 ; j++))
+for ((j=0 ; j < 10000 ; j++))
 do
    gettodo "1" >> $scriptlog 2>&1
@@ -48,5 +48,5 @@
    
    lockfile=$lockpath/lock-$table-$column-$runno.txt
-   checklock >> $scriptlog 2>&1
+   checklock continue >> $scriptlog 2>&1
    
    setstatus "start" >> $scriptlog 2>&1
Index: trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 9106)
+++ trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 9107)
@@ -52,5 +52,5 @@
 
 # query failed callistos (returncode 13) from DB
-query="SELECT fSequenceFirst, fTelescopeNumber from SequenceProcessStatus where fReturnCode=13 and fProgramId=14"
+query="SELECT fSequenceFirst, fTelescopeNumber from SequenceProcessStatus where fReturnCode=13 and fProgramId=14 and fSequenceFirst<200000"
 primaries=( `sendquery` )
 if [ ${#primaries[@]} -eq 0 ]
