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

    r7465 r7471  
    104104   no=`printf %08d $dataset | cut -c 0-5`
    105105   no2=`printf %08d $dataset`
     106   var1=$no
     107   var2=$no2
    106108   path="$datapath/ganymed/$no/$no2"
    107109   ganymedfile=$path/ganymed$no2.root
     
    112114
    113115   echo "run $program for dataset $dataset" >> $scriptlog 2>&1
     116   setstatus "start" >> $scriptlog 2>&1
     117
    114118   check2=`root -q -b $macrospath/fillganymed.C+\("\"$ganymedfile\""\,kFALSE\) | tee $fillganymedlog | grep int | sed -e 's/(int)//'`
    115119   case $check2 in
    116       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1
    117            echo "-> inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1
    118            statustime="Now()"
    119            failed="NULL"
    120            starttime="NULL"
    121            failedtime="NULL"
    122            var1=$no
    123            var2=$no2
    124            setstatus
    125           ;;
    126       *)  echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
     120      1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
     121      *)  echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     122          com="fillganymed for dataset $dataset failed"
     123          check=$check2
     124          ;;
    127125   esac
     126   echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1
     127   setstatus "stop" >> scriptlog 2>&1
    128128done
    129129
Note: See TracChangeset for help on using the changeset viewer.