[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Fw: Saxon java call works in my script but get an error when trying to submit same script from a cron job - how do I fix this error ?


Subject: Re: [xsl] Fw: Saxon java call works in my script but get an error when trying to submit same script from a cron job - how do I fix this error ?
From: "Wolfgang Laun wolfgang.laun@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 4 Mar 2015 18:04:14 -0000

Yes, thanks for supporting me ;-)

On 4 March 2015 at 18:45, Brian Kennison kennisonb@xxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>
> >Your cron apparently is accessing a different JVM than the command line
> process
> >Make sure that cron calls a java VM that is recent enough to run saxon
>
> I had this kind of thing happen to me several times. The cron job does not
> have the same environment that you have. (when you login in your .bashrc
> and profile set up your environment). What I've found is that complete
> paths are needed to all directories and executibles.
>
> --Brian


Current Thread