Why do it via cron, keep it simple in weeWX by using a template and the report_timing option (weewx.com/docs/customizing.htm#customizing_gen_time), this is exactly the use case it was intended for. Keeping it in a weeWX template gives you all the power of the weeWX tag system rather than forcing you to use sql to retrieve data and then having to format the results.
Gary -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.