Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
Runs a job every specified interval.

Parameters

Parameter name

Type

Required

Description

silFile

scriptPath

string

Yes

The

sil file name

source of the script to be executed.

args

array string

Yes

The list of the arguments of the job.
interval

int

Yes

The interval

Return type

none

The returned value has no meaning.

...

The example above creates a job that runs the script "script.sil" every 30 minutes. The job running will repeat every 30 minutes.


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:

Code Block
string issueKey = argv[0];

 


See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "scheduler_routines"
labelsscheduler_routines