Configuration options

Table 1. Required configuration options
key type default value description

expression

string

 

Cron expression for specifying period of execution.

Examples:

  • 0/2 * * * * ? * - Every 2 seconds

  • 0 45 9 ? * * - Every day at 9:45

  • 0 15 8 ? * MON-FRI - Every workday at 8:15

Table 2. Optional configuration options
key type default value description

concurrent

boolean

true

Allow concurrent execution if previous task didn’t finish before next execution. Default value is true.

id

string

 

Identification of the started task. This can be used to later look up the instance, for example to cancel it.