Ignore:
Timestamp:
08/22/06 15:36:10 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7909 r7911  
    2828# for all datasets of which the results are not yet in the database.
    2929#
    30 # After checking, if the script is already running, the todolist is
    31 # written
     30# After checking if the script is already running the todolist is written.
    3231# Then for each dataset in the todo list the ganymed results are filled
    3332# into the table Ganymed in the database using the macro fillganymed.C
     
    7877   ganymedfile=$path/ganymed$no2.root
    7978   fillganymedlogpath=$logpath/$program/$no
    80    echo "$programlogpath: "$fillganymedlogpath >> $scriptlog 2>&1
    8179   makedir $fillganymedlogpath >> $scriptlog 2>&1
    8280   fillganymedlog=$fillganymedlogpath/$program-$dataset.log
     
    8785   check2=`root -q -b $macrospath/fillganymed.C+\("\"$ganymedfile\""\,kFALSE\) | tee $fillganymedlog | grep int | sed -e 's/(int)//'`
    8886   case $check2 in
    89       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
    90       0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1
     87      1)   echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
     88      0)   echo " check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1
    9189           check="no"
    9290           ;;
    93       *)  echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     91      *)  echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    9492          com=$Ffillganymed
    9593          check=$check2
    9694          ;;
    9795   esac
    98    echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1
     96
    9997   setstatus "stop" >> scriptlog 2>&1
    10098done
Note: See TracChangeset for help on using the changeset viewer.