I take frequent backups with borg and decided to automate updates. The documentation was otherwise easy to follow, but I haven’t entirely understood how to configure the process to start at a specified time.
the /usr/lib/systemd/system/dnf-automatic-install.timer file contents:
# See comment in dnf-makecache.service
According to the comments on this Reddit post, OnCalendar=*-*-* means “every day” (and 6:00 time of the day, as evident). How would one modify the line to update bi-daily (every other day) and once a week, for instance?
There are multiple ways to do that, systemd timers are very flexible, for example those will run one week or two days after last execution, no sooner than 15 minutes after boot (if computer is off, it will be run after next boot up):
If your computer is constantly on, it’s best to schedule a backup for night with OnCalendar and weekly (which works as Mon *-*-* 00:00:00) or any other day and hour Tue,Fri,Sun *-*-* 01:00:00.