Changes

Jump to navigation Jump to search
11 bytes removed ,  16:00, 30 January 2019
jobs:eval("prof:sleep(1500)", (), map { 'interval': 'PT1S', 'end': 'PT10S' })
</pre>
* The query in the specified file will be evaluated once:<pre class='brush:xquery'>jobs:eval(xs:anyURI('cleanup.xq'))</pre>* The following expression, if stored as in a file, calls and evaluates itself will be evaluated every 5 seconds:
<pre class="brush:xquery">
jobs:eval(
file:read-text(static-base-uri()),
map { },
map { 'start': 'PT5S' }
)
</pre>
* Evaluate query in specified file:
<pre class='brush:xquery'>
jobs:eval(xs:anyURI('cleanup.xq'), (), ())
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu