myxdvz / booktree

Goes thru a bunch of media files and builds a tree structure
GNU General Public License v3.0
26 stars 5 forks source link

Example scheduler feature #8

Closed dslatt closed 1 month ago

dslatt commented 2 months ago

This adds a very basic scheduler feature. It's based on what qbit_manage does, but simpler.

Adds 'mode' and 'scheduler_period' to the config file. Valid modes are 'run' which just runs the script once like normal and 'scheduled' which schedules the script to run based upon the 'scheduler_period' in minutes.

This is more proof-of-concept than fully ready. I think a few other things would need to be considered first: