|
Sujet : apt-get update et upgrade avec crontab |
| jdloic |
=> regarde plutôt du coté de "cron-apt"
% apt-cache show cron-apt
Package: cron-apt
Priority: optional
Section: admin
Installed-Size: 64
Maintainer: Ola Lundqvist <opal@debian.org>
Architecture: all
Version: 0.0.20
Depends: apt, bash (>= 2.03-6), mailx
Filename: pool/main/c/cron-apt/cron-apt_0.0.20_all.deb
Size: 9736
MD5sum: b651c07179e8986d06fbc7ef553fad98
Description: Automatic update of packages using apt
This package contains a tool that is run by a cron job
at regular intervals. By default it just updates the package list and
download new packages without installing. You can instruct it to run
anything that you can do with apt-get.
.
It also sends mail (configurable) to the system administrator on
errors.
.
Observe that this tool is a security risk, so you should not set it
to do more than necessary (automatic upgrade of all packages is NOT
recommended). |
|