Skip to main content.
home | support | download

Back to List Archive

Re: Error running swish-e as cron job

From: Bill Moseley <moseley(at)>
Date: Wed Apr 14 2004 - 16:04:33 GMT
On Wed, Apr 14, 2004 at 08:43:05AM -0700, Jody Cleveland wrote:
> > make sure that the path variable is set at the top of your crontab:
> > 
> > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
> I checked that, and it was correct.
> > I generally write shell scripts that run all of my swish 
> > stuff and then run those from crontab, i think it is a little cleaner.
> Right now, I've got 4 separate cron jobs, one for each site I have. Is
> there a way to write a script that will do multiple indexes? Or, do I
> need a separate one for each site I index?

I think that's one of the main features of shell scripts -- to be able to
run more than one command.

Or are you asking something else?

Bill Moseley
Received on Wed Apr 14 09:04:33 2004