|
cron.modify
|
| |
|
description
Modify a scheduled task. The relative URL should be an XML command file located in the
current site. Parameter could be passed to the command using HTTP GET format.
privilege-required
user
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Id of the cron task. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| relative-url |
string |
none |
false |
Relative URL of the command file in the current site with the parameter in GET HTTP format. |
| execution-date |
date |
none |
false |
Execution date of the task. To specify the time format use a time pattern string as defined in Java API. |
| repeat-count |
integer |
none |
false |
Number of time that the task will be repeated. |
| ack-email |
string |
none |
false |
Email where cron execution acknoledgement will be sent. |
| repeat-delay |
integer |
none |
false |
Delay in minutes beetween each repeatition. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="cron.modify" id="{$id}">
<nvd:parameter name="relative-url">/cron/command.xml?param1=AA¶m2=BB</nvd:parameter>
<nvd:parameter name="execution-date" type="date" format="dd-MM-yyyy HH:mm">21-01-2002 10:00</nvd:parameter>
<nvd:parameter name="repeat-count">1</nvd:parameter>
<nvd:parameter name="repeat-delay">600</nvd:parameter>
</nvd:command>
|
|