You need to change the permissions on the file /etc/cron.daily/mlocate to remove the execute permission. From a terminal, run
Code:
sudo chmod -x /etc/cron.daily/mlocate
To turn it back on, run
Code:
sudo chmod +x /etc/cron.daily/mlocate
But, even without restoring the execute permission, you can update the database at any time by running
Code:
sudo bash /etc/cron.daily/mlocate
Edit: Just to expand on what
syg00 said in
#2, to switch to a weekly schedule run
Code:
sudo mv /etc/cron.daily/mlocate /etc/cron.weekly/