Re: updatedb cron jon
Reply #1 –
@daily /usr/bin/updatedb
Should work. I suspect you didn't actually create the crontab entry ?
Did you see this ?
/bin/sh: line 1: /usr/bin/vi: No such file or directory
If so this should work (if nano is installed which I think it is by default?)
su
EDITOR=nano crontab -e
If you want to do it in cron.daily instead create a file in that directory, make it executable and put this it.
#!/bin/bash
/usr/bin/updatedb