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

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