updatedb : how to disable its (an)cron job ?
vincent.trouilliez at modulonet.fr
Thu Dec 7 22:03:51 UTC 2006
ben darby <ben at cvrse.com> wrote:
> im not sure what you mean by "properly" as i would consider changing the
> permissions -x on
Hmm, I was thinking "proper" as in "remove the schedule job", just like
your remove/uninstall an application and not just remove its icon from
the menu ;-)
> /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?
Ah, looks like you over-estimated my understanding of cron...thanks for
the starting point !
I need a beginners guide, an overview of how cron works, what files are
involved, how to remove a job, what commands and utility (if any) are
used to work with cron, etc, etc.
Also, cron is not enough. ISTR that updatedb nowadays on Ubuntu is
triggered by anacron, not cron. So, on top of cron, I need to have a
working knowledge of anacron as well, and what is the relation between
the two... if any.
It might be super simple for the one who knows, but until someone sheds
some light... it's just a black box to me and therefore I don't know
what is the proper way to remove a cron, and anacron, job.
I guess I could google for a howto, but since each distro has its
little differences, I would rather learn 100% relevant Edgy
instructions, rather than screw something up by following some Redhat or
Suse, or even an obsolete Ubuntu howto.
More information about the ubuntu-users