Ignore:
Timestamp:
02/19/09 21:22:19 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9174 r9355  
    6363
    6464
    65 scriptlog=$runlogpath/run$program-$datetime.log
    66 date >> $scriptlog 2>&1
    67 
    6865# get sequence #
    69 gettodo >> $scriptlog 2>&1
     66gettodo
    7067run=$process
    7168
    7269# lock sequ
    7370lockfile=$lockpath/lock-$table-$column-$sequence.txt
    74 checklock >> $scriptlog 2>&1
     71checklock
    7572
    76 echo "run $program for run $run..." >> $scriptlog 2>&1
    7773printprocesslog "INFO starting $program for run $run"
    7874
    79 setstatus "start" >> $scriptlog 2>&1
     75setstatus "start"
    8076
    81 echo "run $program for run $run "
    82 echo "create input card... "
     77printprocesslog "INFO create input card... "
    8378
    8479# get values for inputcard
     
    10095seeds=`sendquery`
    10196
    102 echo "" >> $scriptlog 2>&1
    103 echo "INPUTCARD:" >> $scriptlog 2>&1
    104 echo "----------" >> $scriptlog 2>&1
    105 echo "" >> $scriptlog 2>&1
    106 echo "" >> $scriptlog 2>&1
    107 printinputcard >> $scriptlog 2>&1
    108 
    10997logfile=$outpath/$program"-"`printf %06d $run`".log"
    110 makedir $outpath >> $scriptlog 2>&1
     98makedir $outpath
    11199
    112100cd $detectordir/Camera
     
    121109
    122110case $check1 in
    123    0)   echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1
    124         printprocesslog "INFO $program finished successfully for sequence $sequence"
     111   0)   printprocesslog "INFO $program finished successfully for sequence $sequence (check1=$check1)"
    125112        ;;
    126    *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    127         printprocesslog "ERROR $program failed for sequence $sequence"
     113   *)   printprocesslog "ERROR $program failed for sequence $sequence (check1=$check1)"
    128114        com=$Fcamera
    129115        check=$check1
     
    131117esac
    132118
    133 setstatus "stop" >> $scriptlog 2>&1
     119setstatus "stop"
    134120
    135 finish >> $scriptlog 2>&1
     121finish
    136122
Note: See TracChangeset for help on using the changeset viewer.