FWIW, my cron command is this:
$HOME/public_html/swish-e/bin/swish-e -S prog -c
This worked for me as I could get swish to run from the command line but
not from cron before. If you still get errors then you may need to do as
others have suggested.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Jody Cleveland
> Sent: Tuesday, April 13, 2004 8:24 AM
> To: Multiple recipients of list
> Subject: [SWISH-E] Error running swish-e as cron job
> 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
Received on Tue Apr 13 09:01:29 2004