Changes

Jump to navigation Jump to search
1,494 bytes removed ,  08:29, 28 July 2022
no edit summary
| '''Errors'''
|The command fails if no database is opened, or if one of the specified arguments is invalid.
|}
 
==JOBS LIST==
 
{| width='100%'
|- valign="top"
|width='130'|'''Syntax'''
|{{Code|JOBS LIST}}
|- valign="top"
| '''XML Syntax'''   
|<code><jobs-list/></code><br/>
|- valign="top"
| '''Permission'''
|''ADMIN''
|- valign="top"
| '''Summary'''
|Returns information on all jobs that are currently queued or executed. See {{Function|Job|job:list-details}} for more details on the returned table entries.
|}
 
==JOBS RESULT==
 
{| width='100%'
|- valign="top"
|width='130'|'''Syntax'''
|{{Code|JOBS RESULT [id]}}
|- valign="top"
| '''XML&nbsp;Syntax'''&nbsp;&nbsp;&nbsp;
|<code><jobs-result id='...'/></code><br/>
|- valign="top"
| '''Permission'''
|''ADMIN''
|- valign="top"
| '''Summary'''
|Returns the cached result of a query with the specified job id:
* Results can only be retrieved once. After retrieval, the cached result will be dropped.
* If the original query has raised an error, the cached error will be raised instead.
|- valign="top"
| '''Errors'''
|The command fails if the addressed job is still running or if the result has already been retrieved.
|}
 
==JOBS STOP==
 
{| width='100%'
|- valign="top"
|width='130'|'''Syntax'''
|{{Code|JOBS STOP [id]}}
|- valign="top"
| '''XML&nbsp;Syntax'''&nbsp;&nbsp;&nbsp;
|<code><jobs-stop id='...'/></code><br/>
|- valign="top"
| '''Permission'''
|''ADMIN''
|- valign="top"
| '''Summary'''
|Cancels the execution of a job with the specified id, or drops the cached result of a query. Unknown ids are ignored. All jobs are gracefully stopped; it is up to the process to decide when it is safe to shut down.
|}
* Updated: {{Command|CREATE BACKUP}}: Support for comments.
* Updated: {{Command|OPEN}}: {{Code|path}} argument dropped.
* Removed: {{Code|JOBS LIST}}, {{Code|JOBS STOP}} and {{Code|JOBS RESULT}} command
;Version 9.7
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu