Automatic updates with unattended-upgrades on Debian and Ubuntu
This tutorial shows how to configure unattended updates on Debian and Ubuntu. It covers all recent Debian and Ubuntu versions incl. Ubuntu 22.04 and Debian 11.
Source: Howtoforge Linux Howtos und Tutorials