Bug#72225: apt: example script for cron.daily
Package: apt
Version: 0.3.19
Hello, it is very small but useful script. You could put it into
/usr/doc/apt/examples or even to cron.daily directory.
#!/bin/sh
apt-get -qq update 2>&1
apt-get -y -q -d -u upgrade \
| grep -v \
-e "^Reading Dep" \
-e "^Building Dep" \
-e "^Reading Pack" \
-e "^0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded" \
2>&1
--
Piotr Roszatycki | SD Specialist
Internetia Telekom Sp. z o.o.
Netia Holdings S.A. | PL 00-822 Warszawa, ul. Poleczki 13
tel. +48 (22) 648 45 00 wew. 2068
Reply to: