[MarkLogic Dev General] Function to check task server queue?

Geert Josten geert.josten at dayon.nl
Fri Mar 16 08:45:26 PDT 2012

Hi Josh,

You need xdmp:server-status(). I have some example code doing exactly the
same. Look at the flush-task-server function of this library (should be the
top one):


Kind regards,


*Van:* general-bounces at developer.marklogic.com [mailto:
general-bounces at developer.marklogic.com] *Namens *Josh Warner-Burke
*Verzonden:* vrijdag 16 maart 2012 16:36
*Aan:* general at developer.marklogic.com
*Onderwerp:* [MarkLogic Dev General] Function to check task server queue?

I was told that everything you can see in the ML admin tool is available
via the API.  What I would like to do is query to find out the number of
tasks in the task server queue.  Can anyone tell me how this would look, or
point me to documentation related to this?  Thanks in advance.

Josh Warner-Burke
Tech Lead, Coral Reef
42SIX Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120316/29fb4549/attachment.html 

More information about the General mailing list