On Thu 28 Dec 2006, [EMAIL PROTECTED] wrote:
> 
> The cron command is:
> 
> 30 4 * * *      /usr/local/sbin/dirvish-expire --config 
> /usr/local/etc/dirvish/master.conf ; /usr/local/sbin/dirvish-runall --config 
> /usr/local/etc/dirvish/master.conf | mail -s "Dirvish output" scanner

I note that you're calling dirvish-expire and dirvish-runall with full
pathnames... Is that because otherwise those commands couldn't be found?
If so, then most probably dirvish-runall can't find the "dirvish"
command either :-)

Either fix the PATH that cron uses when executing its jobs, or put
dirvish somewhere where it can be found.

I prefer to keep the crontab entry nice and simple and just call a shell
script there, which also makes it easier to make sure that things such
as PATH are set up correctly.


Paul Slootman
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to