I am trying to set up my own strategy but it seems persist never happens if I configure the persist file like this:
everyMinute : "0 * * * * ?"
every10Minutes : "0 0/10 * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
gTemperatures* : strategy = every10Minutes, restoreOnStartup
gContacts*, gSwtiches* : strategy = everyChange, restoreOnStartup
I can’t find any updates in MySQL database, however if I replace the grouped item strategies with a single *:strategy then it works. Is there any known bug around strategies, or did I misconfigured something?
Thanks for your answers.
I have been using Groups in persistence (mySQL as well) without problems. Maybe a typo in the group name?
Or in the Item definition(f.e. group name misspelled in there?)
Personally i switched to a *: everyChange, restoreOnStartup Strategy.
I checked my Database after about 6 month of logging and it was only a few MB.
So I figured why bother ? Just persist all…you never know when you gonna need it (did I just quote the NSA’s motto?)
Thanks for your reply. I double checked all settings and didn’t find any problem, but you are absolutely right so I am going to change to the everyChange strategy as I still can play with the sensor update frequencies too.