SOLUTION: terminal indexing works; cron indexing fails
"Dan Stieneke" <[email protected]> Fri, 22 Sep 2006 08:31:34 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
OpenBSD 3.9, swish-e 2.4.2 (2.4.3 won't compile on OpenBSD *sigh*) 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. Cheers, Dan Stieneke Technology Director City of Ontario, OR