Linux Enable Automatic Updates
Using the automatic updates package
apt install unattended-upgradesUsing Cronjobs
First install cron:
apt install cronAdd the cronjob:
(crontab -l ; echo "30 16 * * 1,3,6 apt update && apt upgrade -y")| crontab -apt install unattended-upgradesFirst install cron:
apt install cronAdd the cronjob:
(crontab -l ; echo "30 16 * * 1,3,6 apt update && apt upgrade -y")| crontab -