Schedule unattended-upgrades, every month on specific date
Cron is somehow limited in the way, dates are calculated. There is no easy way to do things like on every month, but only on Mondays. On systemd-Systems, there is a timer active, that triggers the unattended-upgrades job daily. Following shows the process to setup UA accordingly to update all packages on system from all sources, on the first Wed every month at 2:50am and – if reboots required – reboot at 3am. apt install unattended-upgrades /etc/apt/apt.conf.d/10periodic APT::Periodic::Update-Package-Lists „1“;APT::Periodic::Download-Upgradeable-Packages „0“;APT::Periodic::AutocleanInterval „0“;APT::Periodic::Enable „1“;APT::Periodic::Unattended-Upgrade „1“;Unattended-Upgrade::Automatic-Reboot-Time „03:00“;Unattended-Upgrade::Automatic-Reboot „true“;Unattended-Upgrade::Origins-Pattern {„origin=*“;}; systemctl edit –full apt-daily.timer...
Read more