xsl-list
[Top] [All Lists]

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 ?

2015-03-04 12:04:18
Yes, thanks for supporting me ;-)

On 4 March 2015 at 18:45, Brian Kennison kennisonb(_at_)wcsu(_dot_)edu <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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


--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--