updatedb : how to disable its (an)cron job ?

Thilo Six T.Six at gmx.de
Fri Dec 8 16:10:21 UTC 2006


Vincent Trouilliez wrote the following on 07.12.2006 18:14:
> Hi,
> 
> updatedb runs once a day, I think triggered by a (ana)cron job,
> and I would love to disable it, as it always has the bad habit of
> running when I am using the machine. I do use the "locate" command, but
> so rarely, that suffering updatedb just isn't worth it.
> 
> I don't see any GUI in Gnome to manage scheduled jobs (might be an idea
> for a Feisty+1 spec....), could someone explain to me how to
> "properly" (ie not changing permissions ;-) disable updatedb's job ? 
> 
> TIA...
> 
> Vince


cd /etc/cron.weekly/
sudo mv find.notslocate ../cron.weekly/
sudo mv slocate ../cron.weekly/

(or you could even move it to /etc/cron.monthly/ )

This way you do not loose all the functionalty off locate but it is less
disturbing. I use it this way.


bye Thilo
-- 
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09





More information about the ubuntu-users mailing list