Open oliver-koch opened 7 months ago
This is currently only used on startup, as there is a service missing that checks it once a day.
Good to know. Then i will automatically restart my container as a workaround.
As an alternative, you may trigger /api/toniesJsonUpdate
.
Good Hint. I read this a few minutes ago on Telegramm. This is less invasive. Thanks!
I would like to tackle this ticket @SciLor but would like to get your input before. I see two ways of achieving this:
server_init()
functionWhat do you think? In my opinion, Option 1 is a little cleaner.
@SciLor not sure if you already saw my PR and also not sure if it's what you are looking for. I had fun getting into the codebase though and am ready for feedback.
The solution looks fine and helpful for me, but it seems to be abandoned? @ceicke @SciLor ?
It didn’t get merged yet because the build for Windows failed and I have no idea how to fix it…
Function "Auto-Update tonies.json" does not update periodically
_Tested on TeddyCloud v0.3.5 (8602da9) - 2024-01-22 13:39:05 +0000 linux-x8664 on Docker
What was tested:
What was expected:
I would expect an periodic update of the 'tonies.json' file (e.g. once a day) as the name of the settings "Auto-Update" tells.
Attached you can find the logs: