Home Schema Example JSON Schema

Provider Settings

Type: object

Provider.settings are used to store task provider-specific settings.

No Additional Properties

Retry Strategy

Type: object

The retry strategy determines what to do in the event of an unsuccessful execution. After each attempt failure, k, we wait for 2^k * retry_backoff * jitter seconds before trying the next attempt.
The default retry strategy is no retrying.

No Additional Properties

Max Retries

Type: integer

Maximum number of attempts at retrying. A max_retries of 2 implies that there will be at most 3 executions of the task. Note that this is required and must be an integer so unlimited retries are not possible.

Value must be greater or equal to 0 and lesser or equal to 5

Retry Backoff

Type: number

The backoff factor. Defaults to 1.

Value must be strictly greater than 0 and lesser or equal to 600

Retry Backoff Max

Type: number

The maximum wait time regardless of retries and jitters. Defaults to 600.

Value must be strictly greater than 0 and lesser or equal to 3600

Retry Jitter

Type: boolean

If true, a uniform random multiplier between 0.75 and 1.25 will be multiplied to the wait time to avoid herd issues. Defaults to true.

Execution

Type: object

These settings are used during execution to monitor the health and performance of kronos tasks.

No Additional Properties

Delete If No Next Execution

Type: boolean

Delete the task if the task has no more next execution. Defaults to true.

Fail If Queued Too Long

Type: number

Fail if the task spent longer than failif_queued_too_long seconds in the QUEUED status. This is useful is the task has a "freshness" requirement. Defaults to infinite time.

Value must be strictly greater than 0

Warn If Queued Too Long

Type: number

Warn if the task spent longer than warn_if_queued_too_long seconds in the QUEUED status. Defaults to 60 seconds.

Value must be strictly greater than 0

Warn If Execute Too Long

Type: number

Warn if the task spent longer than warn_if_execute_too_long seconds in the EXECUTE status. Defaults to 60 seconds.

Value must be strictly greater than 0

Log Critical If Failed

Type: boolean

Legacy option replaced by report_incident_if_failed.

Report Incident If Failed

Type: boolean

Reports an incident when the task execution failed and there are no more retries available. Defaults to false.

Max Concurrent Executions

Type: integer

Maximum number of concurrent executions of the same task. When the maximum concurrent executions is reached, the task will be skipped with a warning message. Defaults to 0, meaning unlimited concurrent executions.

Value must be greater or equal to 0

Default Queue

Type: enum (of string)

Default queue to use for the task. Defaults to long.

Must be one of:

  • "long"
  • "short"

Time Limit

Type: integer

Overrides the default time limit (in seconds) for the task. Defaults to 0, meaning use default.

Value must be greater or equal to 0

AnyDesk

Type: object

Settings for the AnyDesk healthcheck provider.

No Additional Properties

License ID

Type: string

The AnyDesk license ID.

Must be at least 1 characters long

API Key

Type: string

The AnyDesk API key.

Must be at least 1 characters long

Heartbeat Key

Type: string

The key of the BetterUptime heartbeat to use. The heartbeat will only be sent if all the monitored clients are online.

Must be at least 1 characters long

Client IDS

Type: array of string

IDs of AnyDesk clients to monitor.

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long