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/dodatacheck

    r7465 r7471  
    143143for run in ${runs[@]}
    144144do
    145    date
    146145   echo "do $program for run "$run >> $scriptlog 2>&1
    147146   no=`printf %08d $run | cut -c 0-2`
    148147   no2=`printf %08d $run`
     148   var1=$date
     149   var2=$no2
    149150   rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw`
    150151   echo "rawfile: "$rawfile >> $scriptlog 2>&1
     
    161162
    162163   echo "doing filldotraw..." >> $scriptlog 2>&1
     164   setstatus "start" >> $scriptlog 2>&1
     165
    163166   check1=`root -q -b $macrospath/filldotraw.C+\("\"$rawfile\""\,kFALSE\) | tee $filldotrawlogfile | grep int | sed -e 's/.*(int)//'`
    164167
     
    167170            ;;
    168171       *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    169             continue;;
     172            com="filldotraw for run $run failed"
     173            check=$check1
     174            setstatus "stop" >> $scriptlog 2>&1
     175            continue ;;
    170176   esac
    171177   
     
    189195               ;;
    190196          *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     197               com="sinope for run $run failed"
     198               check=$check2
     199               setstatus "stop" >> $scriptlog 2>&1
    191200               continue 2;;
    192201      esac
     
    206215            ;;
    207216       *)   echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     217            com="fillsinope for run $run failed"
     218            check=$check3
     219            setstatus "stop" >> $scriptlog 2>&1
    208220            continue;;
    209221   esac
     
    222234           ;;
    223235      *)   echo "check5=$check5 -> ERROR -> step could not be resetted -> repeat step " >> $scriptlog 2>&1
     236           com="reset status for fExclusionsDone for date $date2 failed"
     237           check=$check5
     238           setstatus "stop" >> $scriptlog 2>&1
    224239           continue;;
    225240   esac
Note: See TracChangeset for help on using the changeset viewer.