bit-team / backintime

Back In Time - An easy-to-use backup tool for GNU Linux using rsync in the back
https://backintime.readthedocs.io
GNU General Public License v2.0
1.9k stars 175 forks source link

refactor: Extract and decouple cron-related code from config.py and tools.py #1747

Closed buhtz closed 2 weeks ago

buhtz commented 3 weeks ago

I moved code related to crontab handling from config.py and tools.py into its own module schedule.py.

Added some new tests and rearranged some tests. Refactored the related code.

Removed some deprecated code related to the year 2014 when BIT dropped the use of anacron and starting to imitated the anacron behavior by its own.