Re: Automatic dist-upgrade for security update
Jean-Michel Besnard <besnard@tekkno.net> writes:
> I am looking for a way to notice the admin when a package has to be
> updated.
> I was thinking about a script that would apt-get update && apt-get
> dist-upgrade --simulate |mail root@foobar every hour if dist-upgrade
> --simulate had an output different than : 0 packages upgraded, 0
> newly installed, 0 to remove and 0 not upgraded.
You might want to look at cron-apt.
apt-cache show cron-apt
apt-get install cron-apt
man cron-apt
--
Christian Egli
wyona: research & development
http://www.wyona.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: