Thanks to everyone,
I think something like this is what I searched.

      
 
------------------------------------------------------------------------------------------------------------------------------cit.

       RXCHECK=$(mysql --batch --column-names=0 -uweewx -pweewx 
--database=weewx --execute="select rxCheckPercent from archive WHERE 
dateTime=(select MAX(dateTime) from archive); ");
       RXCHECK=`echo $RXCHECK | awk '{printf("%.1f", $1)}'`
       echo $RXCHECK

      
 
----------------------------------------------------------------------------------------------------------------------------------

You converted the standard .sdb weewx DB into a mysql one, didn't you? 
After the conversion of the DB how it's possible to change weewx parameters 
in order to add new data into the correct table? I think it would try to 
build the weewx.sdb again, if no changes in the conf file are made.

PB

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to