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 3 Current »

Description

Runs a job in a specified interval.

Parameters

Return Type

None

The returned value has no meaning.

Example

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

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

In "script.sil" you can access the args using the next syntax:

string issueKey = argv[0];

See also

  • No labels