The —clear-memory command does just that - it deletes all the data held in the logger. That means that any data that has not been collected by weewx would be lost. The —dump option downloads everything in the logger to weewx, which will (should, does, at least with MySQL) reject any records that have already been downloaded, but retain all new records, thus losing no data. The sequence has to be —dump followed by —clear-memory.
Geoff 17 Westcroft Road Holsworthy, EX22 6BY Phone: +44 (0)1409 254330 Mobile: +44 (0)7976 285950 Web: http://www.cusick.org.uk > On 1 Apr 2019, at 16:55, Phil Green <[email protected]> wrote: > > Hi > Why do you need to do a ‘dump’ command when you do the clear-memory? > > Yes would be interested in a cron script. > I presume the same one to be run twice a year when the clocks change forwards > & backwards? > Regards > Phil > > -- > You received this message because you are subscribed to a topic in the Google > Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/F4w4LutBHLk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. -- 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.
