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

Re: apt: cron.daily necessary?



El Tue, 8 Sep 2009 13:42:28 +0200
"Hans-J. Ullrich" <hans.ullrich@loop.de> escribió:

> Hi all, 
> 
> I would like to discuss and suggest the following thing:
> 
> On my 64-bit notebook I am using anacron and (of course) apt. In the
> apt package included is the file /etc/cron.daily/apt, which contents
> some lines, which are starting a find process. This find process
> initiated by apt (and I hope, I am right with this information of the
> initiation source) consumes a lot of harddrive actions for several
> minutes after boot, which makes the computer at this time rather
> slow. 
> 
> Of course, it is one of the processes started by anacron.
> 
> IMO this is an annoying situation for notebook users, as sepeciela ,
> when you just want to start, wanted to do some things quickly, and
> then shutting down again - just as many notebook users do!
> 
> My suggestion to this problem are these:
> 
> 1. delete /etc/cron.daily/apt manually
> 
> O.k., this can be easily done, but how necessary is this file at all?
> 
> 
> 2. If this file is not very necessary do not put /etc/cron.daily/apt
> into the apt-package, but maybe it should be put into some other
> package (for example cron-apt), or , another opportunity, as a
> standalone package.
> 
> 
> 3. put this file to cron.monthly or cron.weekly, or, let it start
> manually somehow (this third option was just a thought)
> 
> What do you think? Is there a way and a chance, to improve things?
> Any feedback will be very welcome.
> 
> 
> Best wishes
> 
> Hans-J. Ullrich
> 
> 

You have only to insert the line

	Apt::Periodic:Enable 0;

in /etc/apt/apt.conf to prevent that script running.

Best Regards,
-- 
Manolo Díaz


Reply to: