Skip to end of banner
Go to start of banner

runJobInAndRepeat

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 »

Description

Runs a job every specified interval.

Parameters

Return Type

None

The returned value has no meaning.

Example

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

string[] args = {key, project};
interval varInterval = "30m";
runJobInAndRepeat("script.sil", args, varInterval);

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:

 

See also

  • No labels