[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: running aptitude and apt-get from cron



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Jul 05, 2003 at 10:08:45PM +0100, Richard Kimber wrote:
> I have been running 'apt-get-update' from cron during the night.  Root
> gets sent the output which is much as one would see in a terminal.

You might want to check out cron-apt, it's designed to do this and
only email you if there's a problem.

> However, following a recent message from someone (Colin Watson???) to the
> list suggesting that it is better to run aptitude than apt-get directly, I
> have been experimenting with 'aptitude update' instead.  However the
> output from this that is emailed to root is not helpful, and is always of
> the form:-

Colin meant when you run interactively, it is better to use aptitude.
And he's mostly right, I just haven't figured out where all the
special search patterns are documented yet.  I know broken packages is
~b...

- -- 
 .''`.     Paul Johnson <baloo@ursine.ca>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/CUVdJ5vLSqVpK2kRAvOkAJ9G4r8oiP4aOBIZUkeP4aLjI2x1BQCeL0/k
aWH1dc6tZYE8kViV9Xyl85g=
=JkFZ
-----END PGP SIGNATURE-----



Reply to: