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

    r7465 r7471  
    103103   echo "building sequence entries for date $date..." >> $scriptlog 2>&1
    104104   year2=`echo $date | cut -c 1-4`
     105   var1=$year2
     106   var2=$date
    105107   buildsequentriespath=$logpath/$program/$year2
    106108   makedir  $buildsequentriespath >> $scriptlog 2>&1
     109
     110   echo "run $program..." >> $scriptlog 2>&1
     111   setstatus "start" >> $scriptlog 2>&1
    107112
    108113   check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,kFALSE\) | tee $buildsequentriespath/buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'`
    109114
    110115   case $check1 in
    111       1)   echo "check1=$check1 -> everything ok -> setting status for $date..." >> $scriptlog 2>&1
    112            statustime="Now()"
    113            failed="NULL"
    114            starttime="NULL"
    115            failedtime="NULL"
    116            var1=$year2
    117            var2=$date
    118            setstatus
    119            ;;
    120       *)   echo "check1=$check1 -> ERROR - $program.C failed for $date -> step has to be repeated" >> $scriptlog 2>&1;;
     116      1)   echo "check1=$check1 -> everything ok -> setting status for $date..." >> $scriptlog 2>&1;;
     117      *)   echo "check1=$check1 -> ERROR - $program.C failed for $date -> step has to be repeated" >> $scriptlog 2>&1
     118           com="building of sequences for date $date failed"
     119           check=$check1
     120           ;;
    121121   esac
     122
     123   echo "inserting the status for $program for date $date into the db" >> $scriptlog 2>&1
     124   setstatus "stop" >> $scriptlog 2>&1
    122125done
    123126
Note: See TracChangeset for help on using the changeset viewer.