Skip to end of banner
Go to start of banner

runJobIn

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Availability

This routine is available since Power Scripts for JIRA (formerly known as JJUPIN) 3.0.8 .

Syntax:

runJobIn(silFile, args, interval)

Description:

Runs a job in a specified interval.

Parameters:

Parameter name

Type

Required

Description

silFile

string

Yes

The sil file name.

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.

Example:

string[] args = {issueType, project}; //assume we're in the context of an issue
interval varInterval = "30m";
runJobIn("script.sil", args, interval);

The example above will create a job that will run the script "script.sil" after 30 minutes. (the script will run only once)

 

See Also:

 

  • No labels