Use the command unattended-upgrade possibly with the following syntax
#sudo apt-get install unattended-upgrades
Refer this up as well. /usr/share/doc/unattended-upgrades/README.md
#sudo apt-get install unattended-upgrades
Refer this up as well. /usr/share/doc/unattended-upgrades/README.md
Courtesy: https://help.ubuntu.com/community/AutomaticSecurityUpdates