Dear Rob, in general, BaseX runs fine when being invoked via cronjobs. Next, I just reproduced your scenario and didn’t encounter any surprises (I have no idea, though, what‘s happening inside your script).
> 3 - line in my bash script is "/home/xxx/basex/bin/basexclient -Uxxx -Pxxx < > /home/xxx/load.bxs" You may need to remove the last "<", as there is no need to redirect the file contents to the client: /home/xxx/basex/bin/basexclient -Uxxx -Pxxx /home/xxx/load.bxs Hope this helps, Christian ___________________________ > On 02/11/2013 07:18 AM, Jens Erat wrote: >> >> Hi! >> >>> 40 * * * * cd home/xxx; ./basexjob.sh >> >> - Which user's crontab is that line in, the user's you've been testing the >> script from? >> - `home/xxx` looks weird, do you probably mean `/home/xxx`? >> - What's inside your `basexjob.sh`? >> >> - - - >> >> On Andria's comments: >> >>> I don't know if you can use sequence of commands on crontab >> >> That's fine. >> >>> while I would use "/home/xxx/basexjob.sh" instead of "cd home/xxx; >>> ./basexjob.sh" >> >> The script could depend on the current path. If it doesn't, I'd prefer >> that, too. >> >> Regards form Lake Constance, Germany, >> Jens >> > > _______________________________________________ > BaseX-Talk mailing list > [email protected] > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
_______________________________________________ BaseX-Talk mailing list [email protected] https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

