Is there any way to call a xQuery Script stored in eXist which for instance uses transform:transform on a large number of files and let it run in the Background? Right now, I can call my script via the Browser and it will take several minutes - would be nice to have it run in the background. Is this possible?
---Edit
It seems that xQuery Tasks are always running in the background, there is no need to wait from them to finish when calling them via a Webinterface in eXist. So what I'm looking for is merely a way to forward to another url when a query is called.
hc:send-requestfunction. See exist-db.org/exist/apps/fundocs/view.html?uri=http://expath.org/…. - Joe Wicentowskihc:send-request, thanks! - karkraegreturn (request:redirect-to(URI), transform:transform()). With this, the browser is redirected and the process runs ‘in the background’. - Honza HejzlCannot compile xquery: err:XPST0017 Function request:redirect-to() is not defined in module namespace: http://exist-db.org/xquery/requestI can’t find any Info about this in eXist’s XQuery Function Documentation… - karkraegresponse:redirect-to()The docs. - Honza Hejzl