hassio-rclone-backup
hassio-rclone-backup copied to clipboard
Use case and intended use of run_once
Hey there!
According to documentation run_once
only executes jobs without a schedule. I was able to confirm this here:
https://github.com/jcwillox/hassio-rclone-backup/blob/84c511ee5f1ddf57e1c737a137bd881cd1f96644/rclone_backup/scheduler/main.go#L137
Could you elaborate on the use case? Today I was setting up a new system and wanted to test the proper configuration of this addon. Hence I needed to set a schedule time close to the current time - or tell the add-on to simply run_once
immediately, or so I thought :)
I understand the hassio.addon_restart
idea but could the "no schedule" condition be lifted so users can do their testing? Alternatively another option for immediate execution of scheduled jobs would be nice.
Cheers.