Skip to main content.
home | support | download

Back to List Archive

Re: SOLUTION: terminal indexing works; cron indexing fails

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Fri Sep 22 2006 - 15:50:05 GMT
Dan Stieneke scribbled on 9/22/06 10:33 AM:
> OpenBSD 3.9, swish-e 2.4.2 (2.4.3 won't compile on OpenBSD *sigh*)
> 

as we're getting 2.4.4 ready, it would be nice to figure out why. can you try 
building a recent cvs snapshot and post back report? that would be very helpful.


> Problem:
> Indexing from terminal was perfect. From cron, it indexed the postscript commands of my .PDF files - huge *and* useless. Tried to emulate my terminal environment w/in cron, but no luck. Searched the archives, found others with similar cron problems.
> 
> Solution:
> change cron command from "/root/scripts/reindex_website.sh" to "ssh localhost /root/scripts/reindex_website.sh". SSH environment is identical to terminal environment, so cron index works now.
> 
> A total cheat, but quick & easy. Just wanted it to make it into the archives so the next guy doesn't spend 2 days hunting this down. 
> 

hey, all's fair in love and unix. ;) thanks for posting your solution.

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
Received on Fri Sep 22 08:50:05 2006