What are the pros and cons of different methods to auto update Raspberry Pi?

0

I searched for how to auto update Raspberry Pi and found three approaches that all sound reasonable, but I didn't find anything on the pros/cons of each.

// unattended-upgrades
apt-get install unattended-upgrades

// apt-daily-upgrade
sudo systemctl enable apt-daily-upgrade.timer
sudo systemctl enable apt-daily.timer

// cron
sudo su crontab -e
0 7 * * 1 apt update && apt upgrade -y

My specific context is that I have a media server running on a Raspberry Pi and want to keep both the OS and applications up to date without having to give it any thought.

What are the pros and cons of the different approaches? Is one more suitable than the others for my use case?

user1283776

Posted 2020-02-23T20:36:31.947

Reputation: 449

Question was closed 2020-02-23T20:38:41.963

No answers