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

ben darby ben at cvrse.com
Thu Dec 7 21:42:01 UTC 2006


* Vincent Trouilliez wrote:
> 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 ? 

im not sure what you mean by "properly" as i would consider changing the
permissions -x on /etc/cron.daily/slocate the easiest to implement and
reverse should you change your mind later. otherwise you could just comment
out the file or change it so the condition is never true + then it wont
execute the update, maybe move it to weekly or monthly?

-- 
ben darby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061208/a5ef16da/attachment.pgp>


More information about the ubuntu-users mailing list