There is something in the basexclient script that causes it to fail
despite my best attempts to coax it to run in a contrived cron
environment. Cron job has been running all along as "xxx" user.
I finally just gave up on the script and and am simply running the
client out of my cron script by directly invoking the jvm myself i.e.
java -cp ......... org.basex.BaseXCLient
Its not the prettiest thing I have ever done, but its working.
On 02/11/2013 08:09 AM, Jens Erat wrote:
Please answer my question on which user's crontab used.
This is important as BaseX by default accesses its configuration files and data in the user's home
directory, so if you're testing that script using user "xxx" but use "root"s
crontab, you're writing to another home directory.
If so, either move to "xxx"s crontab (probably best way) or append some `sudo
-u xxx ` either in your script or when calling it.
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk