Item and time

in the same file as influxdb.persist
Is it possible to catalog the items in this way?
itemA: strategy = everyChange
itemB: strategy = everyMinute
itemC: strategy = everyHour

I can not find an example …
thank you



I did this:

Strategies {

    everyMinute : "0 * * * * ?"
    everyHour   : "0 0 * * * ?"
    everyDay    : "0 0 0 * * ?"


Items {

    itemA   : strategy = everyChange, everyMinute
    itemB   : strategy = everyHour
    itemC   : strategy = everyChange   

but itemB and itemC do not work, while itemA works
If instead I put itemB and itemC together with itemA they work
what’s the reason?

Silly question but did you wait for 1 hour for itemB to be persisted?
And did itemC change?

Sometimes restarting openHAB helps.

restarted, it does not work

I modified the file last night and this morning I checked … neither item has changed

What are the items you are trying to persist, please?

I modified the strategy like this:

 : strategy =  everyChange, everyHour```

and now it works.

the item measures the health status of the home automation network peer