I have just started learning web server administration. I have noticed that I get this update message very often on Ubuntu:
xx packages can be updated
xx updates are security update
When I see it I do:
sudo apt-get update
sudo apt-get upgrade
If this correct? Is there a way make this task automatically, maybe all days at the same hours or when x updates are available?