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

Re: automate updates in Lenny



On Sat, Apr 10, 2010 at 01:37:31AM +0200, Clive McBarton wrote:
> Ron Johnson wrote:
> > Anyway, the cron-apt package does what you want.  It is recommended,
> > though, to use it only for downloads.
> 
> It does help the OP since he uses apt-get, but what about the people who
> normally use aptitude? There's no "cron-aptitude" package. And though
> cron-apt can be configured to actually run aptitude, I don't get the
> impression that it has really been tested that way.
> 
I've always used my own script, and put it in cron.  Something like
this:

apt-get update  > $HOME/update.log 2>&1
apt-get upgrade --assume-yes >> $HOME/update.log 2>&1

-Rob


Reply to: