netmetr runs daily even if autorun is disabled
Hello, using latest stable TurrisOS 6.2.2 on Turris Omnia, nothing fancy.
I've noticed that $TITLE. My /etc/config/netmetr is:
config settings 'settings'
option control_server 'control.netmetr.cz'
option max_history_logs '10'
option client 'HW-PROBE'
option uuid '<obfuscated>'
option autostart_delay '391'
option protocol_mode 'prefer_6'
option autostart_enabled '0'
option sync_code '<obfuscated>'
list hours_to_run '5'
Value of autostart_enabled is ignored by netmetr, it will execute the measurement at 5am everyday. Enable/disable netmetr in reForis does not fix this. If I remove hours_to_run (using reForis, or manually), it is auto-added by netmetr, and message is logged:
Jan 23 09:00:01 turris crond[13992]: (root) CMD (netmetr --autostart --dwlhist --syslog &)
Jan 23 09:00:02 turris netmetr: INFO [root.info:58] Netmetr Python client v2.0.2 starting...
Jan 23 09:00:02 turris netmetr: WARNING [root.warning:67] Config option 'hours_to_run' not found, setting to '(5,)'
Jan 23 09:00:02 turris netmetr: INFO [root.info:58] Autostarted but autostart disabled or not time to run, exiting.
Jan 23 09:00:02 turris crond[13990]: (root) CMDEND (netmetr --autostart --dwlhist --syslog &)