...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | runJobAt(silFile, args, date) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Runs a job at the specified date. |
Runs a job at the specified date.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
silFile | String | Yes | The sil file name. | args | array string | Yes | The list of the arguments of the job. | date | Date | Yes | The date-time you wish the job to run. Must be in the future |
|
Return Type
None
The returned value has no meaning.
Example
This example will create a job that will run the sil script at the date specified.
Code Block |
---|
|
date varDate = "2015-08-20T18:30:55";
runJobAt("script.sil", {project, key}, varDate); |
In "script.sil" you can access the args using the next syntax:
Code Block |
---|
|
string issueKey = argv[1]; |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "schedule_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|