\https://fedoraproject.org/wiki/AutoUpdates
\https://dnf.readthedocs.io/en/latest/automatic.html
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:
[Unit]
Description=dnf-automatic-install timer
# See comment in dnf-makecache.service
ConditionPathExists=!/run/ostree-booted
Wants=network-online.target
[Timer]
OnCalendar=*-*-* 6:00
RandomizedDelaySec=60m
Persistent=true
[Install]
WantedBy=timers.target
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?