Skip to main content.
home | support | download

Back to List Archive

Re: Error running swish-e as cron job

From: Brad Miele <brad(at)not-real.auroraquanta.com>
Date: Tue Apr 13 2004 - 12:28:13 GMT
make sure that the path variable is set at the top of your crontab:

PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin

and that it includes all of the locations for the things that you are
using.

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.

Brad
------------------------------------------------------------
 Brad Miele
 Technology Director
 AuroraPhotos.com
 (207) 828-8787 x110
 bmiele@auroraphotos.com

 It looks like blind screaming hedonism won out.


On Tue, 13 Apr 2004, Jody Cleveland wrote:

> Hello,
>
> I'm running the latest swish-e on redhat 3 as. Everything's working
> great, so I setup a cron job to run every night for indexing. I used
> webmin to do this.
>
> My command is this:
> swish-e -c /usr/local/bin/oshkosh.config -S prog
>
> When I run it, it works great. If I wait for the schedule to run it, it
> says it can't locate swish-e. So, I tried putting in the full path for
> swish-e. It sees swish-e fine, but then I get a bunch of errors about
> not being able to locate the pm file for converting the pdf files.
>
> Any ideas why this would run fine when I click on Run Now, but not when
> it's actually scheduled to run?
>
> --
> Jody Cleveland
> Computer Support Specialist
> cleveland@winnefox.org
>
Received on Tue Apr 13 05:28:13 2004