Ignore:
Timestamp:
02/25/06 18:36:32 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7486 r7529  
    144144
    145145   case $check1 in
    146        1)   echo "check1=$check1 -> everything ok -> go on with $program..." >> $scriptlog 2>&1
    147             ;;
    148        *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    149             com=$Ffillraw
    150             check=$check1
    151             setstatus "stop" >> $scriptlog 2>&1
    152             continue ;;
     146      1)   echo "check1=$check1 -> everything ok -> go on with $program..." >> $scriptlog 2>&1
     147           ;;
     148      0)   echo "check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1
     149           check="no"
     150           setstatus "stop" >> $scriptlog 2>&1
     151           continue ;;
     152      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     153           com=$Ffillraw
     154           check=$check1
     155           setstatus "stop" >> $scriptlog 2>&1
     156           continue ;;
    153157   esac
    154158   
     
    190194
    191195   case $check3 in
    192        1)   echo "check3=$check3 -> everything ok -> set status..." >> $scriptlog 2>&1
    193             ;;
    194        *)   echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    195             com=$Ffillsinope
    196             check=$check3
    197             setstatus "stop" >> $scriptlog 2>&1
    198             continue;;
     196      1)   echo "check3=$check3 -> everything ok -> set status..." >> $scriptlog 2>&1
     197           ;;
     198      0)   echo "check3=$check3 -> no connection to db -> continue..." >> $scriptlog 2>&1
     199           check="no"
     200           setstatus "stop" >> $scriptlog 2>&1
     201           continue ;;
     202      *)   echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     203           com=$Ffillsinope
     204           check=$check3
     205           setstatus "stop" >> $scriptlog 2>&1
     206           continue ;;
    199207   esac
    200208
     
    210218      1)   echo "check5=$check5 -> everything ok, fExclusions have been reset " >> $scriptlog 2>&1
    211219           ;;
     220      0)   echo "check5=$check5 -> no connection to db -> continue..." >> $scriptlog 2>&1
     221           check="no"
     222           setstatus "stop" >> $scriptlog 2>&1
     223           continue ;;
    212224      *)   echo "check5=$check5 -> ERROR -> step could not be resetted -> repeat step " >> $scriptlog 2>&1
    213225           com=$Fresetexcl
     
    215227           check=$check5
    216228           setstatus "stop" >> $scriptlog 2>&1
    217            continue;;
     229           continue ;;
    218230   esac
    219231
Note: See TracChangeset for help on using the changeset viewer.