Info | ||
---|---|---|
| ||
This routine is available starting with Power Scripts for Jira 3.0.8. This routine is available for Jira server and cloud deployment options. Starting with version 4.8.0.10 of Power Scripts an optional param will be available that will give the possibility to assume an user when executing the script. |
Syntax
runJobByCron(silFile, args, cronExpr)
...
Parameter name | Type | Required | Description | |||||
---|---|---|---|---|---|---|---|---|
silFile | string | Yes | The sil file name. | |||||
args | array string | Yes | The list of the arguments of the job. | |||||
cronExpr | string | Yes | The cron expression | |||||
user | string | No | The user which will be used to run the script.
|
Note | ||
---|---|---|
| ||
You can find more details about using the cron expression according to the used API at www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger |
...