Ignore:
Timestamp:
05/13/13 10:59:48 (11 years ago)
Author:
Daniela Dorner
Message:
updated debugging output and logging for case that job is already done by other script
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Sourcefile.sh

    r14826 r15600  
    452452   # print query
    453453   printprocesslog "DEBUG setstatus for step $step QUERY: "$query
     454   #echo "DEBUG setstatus for step $step QUERY: "$query
    454455   # execute query
    455456   numchanged=`sendquery`
     457   #echo "numchanged: "$numchanged
    456458   #if ! numchanged=`mysql -s -u $us --password=$pw --host=$ho $db -e " $query "`
    457459   #then
     
    462464   then
    463465      printprocesslog "INFO successful set of status in DB."
     466      #echo "INFO successful set of status in DB."
    464467   else
    465       # should not happen
     468      # action may be taken in script using $numchanged
    466469      printprocesslog "ERROR status in DB was already set by another process "
    467    fi
    468 }
    469 
    470 
     470      #echo "ERROR status in DB was already set by another process "
     471   fi
     472}
     473
     474
Note: See TracChangeset for help on using the changeset viewer.