Hi Tim,

No, I can't comment at this time except to say that much of the new 
functionality in 4.2 will be discussed at our user conference the first week in 
May.

But looking at what you are trying to do, setting properties as part of the 
update process would allow you to check the progress of your processing at any 
time. It seems like you could set up a scheduled task to poll and send an email 
to report on progress, then delete itself when the process is complete.

http://developer.marklogic.com/pubs/4.1/apidocs/AdminLibraryScheduler.html#admin:group-add-scheduled-task

http://developer.marklogic.com/pubs/4.1/apidocs/AdminLibraryScheduler.html#admin:group-delete-scheduled-task

Kelly


Message: 2
Date: Wed, 7 Apr 2010 10:46:11 -0400
From: "Tim Meagher" <[email protected]>
Subject: RE: [MarkLogic Dev General] RE: tail-recursion with
        xdmp:spawn
To: "'General Mark Logic Developer Discussion'"
        <[email protected]>
Message-ID: <006701cad661$11bc8620$0901a...@grace>
Content-Type: text/plain; charset="us-ascii"

Hi Kelly,

 

Would you elaborate on the new functionality of 4.2 to which you are referring? 
 I'm using a CPF to effectively spawn tasks on individual documents extracted 
from a zipfile, but the problem is that I can't conveniently capture all the 
statuses of the spawned tasks and provide a single email that collects and 
reports on all the statuses.  In addition there seems to be no way to report to 
the parent when all the spawned tasks have completed.  I could periodically 
poll for all the spawned tasks to complete, but that gets kind of messy.

 

Thank you!


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to