Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAvailability

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

Syntax

...

runJobByCron(silFile, args, cronExpr)

Description

...

Excerpt
Runs the job according to the specified cron schedule.

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.
cronExprstring

Yes

The cron expression

...

Note
titleNote

1.You can find more details about using the cron expression according to the used API at the link below :

   www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger

Return type

...

none

The returned value has no meaning.

Example

...

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

...

Code Block
string issueKey = argv[1];

...


See

...

also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "scheduler_routines"
labelsscheduler_routines

...