Skip to end of banner
Go to start of banner

runJobByCron

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

Description

Runs the job according to the specified cron schedule.

Parameters

Return Type

None

The returned value has no meaning.

Example

This SIL script will create a job that will run the script "script.sil" at 12pm (noon) every day.

runJobByCron("script.sil", {project, key}, "0 0 12 * * ?");

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

string issueKey = argv[1];

You can find more details about using the cron expression according to the used API at www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger

See also

  • No labels