Re: SWISH-E Won't run from Cron?

Bill Moseley <[email protected]>
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
On Fri, Jul 28, 2006 at 10:02:48AM -0700, Shammah Chancellor wrote:
> I'm running SWiSH-E as such from cron:
> 
> 0 0 * * * /usr/bin/swish-e -c /var/www/eaf1.conf -f /var/www/eaf1.index
> 
> When I check in the morning the index file is not modified, nor do I get 
> an email with any output.  I tried setting my PATH to "/bin:/usr/bin" 
> and running the command from the console, and it works fine.
> 
> Any ideas what's going on?

Probably a difference in your environment.

I'd expect to see any errors in cron's output (emailed to you), but
you could also replace the cron entry with a shell script and capture
stderr and stdout to a file.

BTW -- don't reply to an existing message to start a new thread.

-- 
Bill Moseley
[email protected]

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.