Skip to content

Cron-apt

Mise à jour automatique du système, des paquets.

Installation

apt install cron-apt

logs :

/var/log/cron-apt/log

Conf :

echo "upgrade -y -o APT::Get::Show-Upgraded=true" > /etc/cron-apt/action.d/4-YesUpgrade

Planification :

/etc/cron.d/cron-apt
# Every night at 4 o'clock.
 0 4 * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt