Ignore:
Timestamp:
11/18/08 12:13:38 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
3 edited

Legend:

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

    r9172 r9173  
    2020#   Author(s): Daniela Dorner  05/2007 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2007
     22#   Copyright: MAGIC Software Development, 2000-2008
    2323#
    2424#
  • trunk/MagicSoft/Mars/datacenter/scripts/runcorsika

    r9170 r9173  
    2020#   Author(s): Daniela Dorner  05/2007 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2007
     22#   Copyright: MAGIC Software Development, 2000-2008
    2323#
    2424#
  • trunk/MagicSoft/Mars/datacenter/scripts/runreflector

    r9129 r9173  
    2020#   Author(s): Daniela Dorner  05/2007 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2007
     22#   Copyright: MAGIC Software Development, 2000-2008
    2323#
    2424#
     
    6464
    6565# get sequence #
    66 gettodo >> $scriptlog 2>&1
    67 run=$process
     66gettodo "1">> $scriptlog 2>&1
     67run=${primaries[0]}
    6868# get reflector runnumber
    6969query="SELECT fReflectorRunNumber FROM MCRunData where fMCRunNumber="$run
     
    116116cd $detectordir/ReflectorII
    117117
    118 echo "INPUTCARD:" >> $logfile 2>&1
     118echo "INPUTCARD:" >| $logfile 2>&1
    119119printinputcard >> $logfile 2>&1
    120120echo "" >> $logfile 2>&1
    121121echo "" >> $logfile 2>&1
    122 printinputcard | ./reflector
     122printinputcard | ./reflector >> $logfile 2>&1
    123123
    124124check1=$?
     
    127127
    128128case $check1 in
    129    22)   echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1
    130          printprocesslog "INFO $program finished successfully for sequence $sequence"
    131          ;;
    132     *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    133          printprocesslog "ERROR $program failed for sequence $sequence"
    134          com=$Freflector
    135          check=$check1
    136          ;;
     129   0)   echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1
     130        printprocesslog "INFO $program finished successfully for run $reflectorrunno"
     131        ;;
     132   *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     133        printprocesslog "ERROR $program failed for run $reflectorrunno"
     134        com=$Freflector
     135        check=$check1
     136        ;;
    137137esac
    138138
Note: See TracChangeset for help on using the changeset viewer.