Ignore:
Timestamp:
02/01/06 18:04:43 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r7465 r7471  
    100100do
    101101   no=`printf %08d $dataset | cut -c 0-5`
     102   var1=$no
     103   var2=$dataset
    102104   echo "checking files for dataset $dataset..." >> $scriptlog 2>&1
    103105   datasetfile=$datasetpath/$no/dataset`printf %08d $dataset`.txt
     
    117119   makedir $outpath  >> $scriptlog 2>&1
    118120   
     121   echo "run $program..." >> $scriptlog 2>&1
     122   setstatus "start" >> $scriptlog 2>&1
     123
    119124   for sequence in ${sequences[@]}
    120125   do
     126
    121127      check1=`root -q -b $macrospath/checkstardone.C+\(\""$sequence\""\) | tee $outpath/checkstardone-$sequence.log | grep int | sed -e 's/(int)//'`
    122128
     
    125131         *)   echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1
    126132              echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1
    127               continue 2
     133              com="starfile missing for sequence $sequence"
     134              check=$check1
     135              break
    128136              ;;
    129137      esac
    130138   done
    131139   
    132    statustime="Now()"
    133    failed="NULL"
    134    starttime="NULL"
    135    failedtime="NULL"
    136    var1=$no
    137    var2=$dataset
    138    setstatus
     140   echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1
     141   setstatus "stop" >> $scriptlog 2>&1
    139142done
    140143
Note: See TracChangeset for help on using the changeset viewer.