From: Andrzej J. T. <an...@ch...> - 2010-02-03 21:21:54
|
Thomas: > That will work, but it seams a little bit messy. The function has to be > prepared specifically to know how to chain with re-scheduling call to > itself at the end of the function. True, but that is a very simple thing to do, and the XQuery would be crafted to be run using the scheduler only (though there are fancy ways to craft an XQuery that can run with a REST invocation and as a scheduled task). > On other hand if we have schedule-xquery-periodic-job extended to pay > attentions to the returned value, then any function that returns boolean > can be called repeatedly until the data is consumed. I'm gonna vote -1 on that. It's outside of the scope of what a periodic scheduled job should do and is really application specific. -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |