[SOLVED] RRD4J error


(max) #1

Hello,

I’m trying to get RRD4J working, but get following errors:
2018-12-22 22:00:51.667 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘rrd4j.persist’
2018-12-22 22:00:51.683 [WARN ] [ence.internal.PersistenceManagerImpl] - Failed to delete cron job for persistence service ‘rrd4j’

My rrd4j.persist:

Strategies {

everyMinute : "0 * * * * ?"

everyHour : "0 0 * * * ?"

everyDay : "0 0 0 * * ?"

}

Items {

  • : strategy = everyMinute, restoreOnStartup

}

Done that: sudo chown openhab: /etc/openhab2/persistence/rrd4j.persist

Any suggestions?


(Vincent Regaud) #2

Please use code fences:
It should be:

Strategies {
    everyMinute : "0 * * * * ?"
    everyHour : "0 0 * * * ?"
    everyDay : "0 0 0 * * ?"
}

Items {
    * : strategy = everyMinute, restoreOnStartup
}

Did you restart OH after edit the rrd4j.persist file?


(max) #3

I’m a idiot. Restart seems to help :open_mouth: