diagnostics: Add option to toggle daily run
The option is stored in kvstore. If no value is set, it is assumed to be enabled.
Tests:
-
Disable daily run. In development mode, diagnostic are not run after several minutes.
-
Enable daily run. In development mode, diagnostics are run after several minutes.
Signed-off-by: James Valleroy jvalleroy@mailbox.org