Skip to end of banner
Go to start of banner

getScheduledJobKeysByScript

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

Version 1 Next »

Availability

This routine is available since jjupin 4.0.0.

Syntax:

getScheduledJobKeysByScript(path[, args])

Description:

Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.

 

Parameters:

Parameter name

Type

Required

Description

path

string

Yes

The path of SIL file used by job.

args

array string

No

The list of the arguments of the job.

 

Return type:

string[]

Returns the list of the scheduled jobs keys by the path of the script they use and the optional parameter args. 

Example:

string[] args = {issueType, project};
runnerLog("The jobs keys are : " + getScheduledJobKeys("test.sil", args));

The example above will return the list of all scheduled jobs keys that match the path and arguments provided.

 

See Also:

 

  • No labels