Info | ||
---|---|---|
| ||
This routine is available starting with Power Scripts™ Scripts for Jira 3.0.8. This routine is available for Jira server and cloud deployment options. |
Syntax
runJobIn(silFile, args, interval)
...
Parameter name | Type | Required | Description |
---|---|---|---|
scriptPathsilFile | string | Yes | The source of the script to be executedsil file name. |
args | array string | Yes | The list of the arguments of the job. |
interval | int | Yes | The interval |
...
The example above will create a job that will run the script "script.sil" after 30 minutes. (the script will run only once)
For the scriptPath parameter you can either give the relative path (as in the example above), or the absolute path:
C:/Program Files/Atlassian/Application Data/JIRA/silprograms/script.sil.
In "script.sil" you can access the args using the next syntax:
...
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|