Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.1. Notifications


Configuring Unattended-Upgrade::Mail in /etc/apt/apt.conf.d/50unattended-upgrades will enable unattended-upgrades to email an administrator detailing any packages that need upgrading or have problems.


Another useful package is apticron. apticron will configure a cron job to email an administrator information about any packages on the system that have updates available, as well as a summary of changes in each package.


To install the apticron package, in a terminal enter:


sudo apt install apticron


Once the package is installed edit /etc/apticron/apticron.conf, to set the email address and other options:


EMAIL="root@example.com"


Top OS Cloud Computing at OnWorks: