updatedb : how to disable its (an)cron job ?
Florian Diesch
diesch at spamfence.net
Mon Dec 11 16:24:25 UTC 2006
Derek Broughton <news at pointerstop.ca> wrote:
> Florian Diesch wrote:
>
>> Vincent Trouilliez <vincent.trouilliez at modulonet.fr> wrote:
>>
>>> 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 ?
>>
>> IMHO changing permissions of /etc/cron.daily/find.notslocate is the most
>> proper way.
>>
> It makes sense - if you remove it, it'll just get put back the next time you
> upgrade the locate package.
And you can see that it's there but disabled, and it's easy to enabble
it again.
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list