nmpinhole / sma-bluetooth

Automatically exported from code.google.com/p/sma-bluetooth
0 stars 0 forks source link

pvoutput post doesn't seem to occur on date range query #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
./smatool -d -from "2011-01-01 00:00:00" -to "2011-01-12 23:55:00"

it updated the mysql, but didn't run the pvouput post routine... 

Added "    //lets check what the flags are..
    if (debug == 1) printf("post=%d, mysql=%d, error=%d\n",post,mysql,error:wq!);"
 to line 1995 and got..

post=1, mysql=1, error=0
SELECT EtotalToday FROM DayData WHERE DateTime=DATE_FORMAT( NOW(), 
"%Y%m%d000000" ) 

I'm guessing that right now it doesn't post the results it finds, only today's 
result?

Original issue reported on code.google.com by b...@ticm.com on 13 Jan 2011 at 8:08

GoogleCodeExporter commented 9 years ago
It only posts from archive data. It will post when the previous issue is fixed

Original comment by stephenb...@gmail.com on 13 Jan 2011 at 11:24