In two step you're done !
You need to install unattended-upgrades from APT repository.
apt install unattended-upgrades
Now you need to configure properly the package.
dpkg-reconfigure unattended-upgrades
Answer YES
Finish. :)
MORE tips:
Enable Email Notification
# uncomment in /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Mail "My-super@mail.com";
Check this file /etc/apt/apt.conf.d/50unattended-upgrades many options are available.
Enjoy !
TAG: DEBIAN , SECU
by 🅴🆁🆁🅴🆄🆁32
🅴🅲🅷🔵🆂🆈🆂🆃🅴🅼