Changes

Jump to navigation Jump to search
86 bytes added ,  14:17, 3 July 2016
no edit summary
|-
| '''Summary'''
|Returns information on all jobs that are currently registered. The list includes scheduled, queued or executed, running jobs, and finished jobs with a cached result. The input comprises returned elements have elements with the job id, the type (XQuery, a command, REST, RESTXQ)and the user who started flag. Depending on the type of the job, additional attributes will be added:* If the time result of a job is already being evaluatedwill be cached, a <code>cache</code> attribute will be added.* If the state (queuedjob will be repeated, running, stopped, timeout, memory) and a <code>start</code> attribute indicates the user who started the jobnext start time.
|-
| '''Examples'''
* <code>jobs:list-details()</code> returns information on the currently running job and possibly others:
<pre class="brush:xml">
<job id="job1" type="XQuery" duration="PT0S" state="running" user="admin" cached="false" duration="PT0.001S">
XQUERY jobs:list-details()
</job>
)
</pre>
|}
 
==jobs:results==
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|jobs:results||xs:string*}}
|-
| '''Summary'''
|Returns the ids of all jobs for which results are cached.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu