Ignore:
Timestamp:
08/29/06 09:08:55 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7951 r7954  
    109109
    110110
     111# alias
     112alias 'intgrep'='grep -E ^\\\(int\\\)[0-9]+$ | sed -e s\/\(int\)\/\/'
     113
    111114# in the following the function, which are needed by several scripts, are
    112115# defined
     
    220223               starttime="Now()"
    221224               ;;
    222        stop)   echo "setstatus stop"
    223                case $check in
    224                  ok)  echo " ok"
     225       stop)   case $check in
     226                 ok)  echo "setstatus stop - ok"
    225227                      statustime="Now()"
    226228                      ;;
    227                  no)  echo "nothing new"
     229                 no)  echo "setstatus stop - nothing new"
    228230                      check="ok"
    229231                      ;;
    230                   *)  echo " failed"
     232                  *)  echo "setstatus stop - failed"
    231233                      starttime=noreset
    232234                      returncode=$check
     
    428430   fi
    429431   query=$query", fFailedTime=$failedtime, fFailedCode=$failedcode, fFailedCodeAdd=$failedcodeadd, fReturnCode=$returncode "
    430    query=$query" where $primary=$var2"
     432   query=$query" where $primary='$var2'"
    431433   echo " QUERY: "$query
    432434   if ! mysql -s -u $us --password=$pw --host=hercules $db -e " $query "
Note: See TracChangeset for help on using the changeset viewer.