Linux
Automatic Updates

Linux Enable Automatic Updates

Using the automatic updates package

apt install unattended-upgrades

Using Cronjobs

First install cron:

apt install cron

Add the cronjob:

(crontab -l ; echo "30 16 * * 1,3,6 apt update && apt upgrade -y")| crontab -