SchedulerServiceTaskScheduleDefinition
Home > @backstage/backend-plugin-api
> SchedulerServiceTaskScheduleDefinition
Options that control the scheduling of a task.
Signature:
export interface SchedulerServiceTaskScheduleDefinition
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
{ cron: string; } | Duration | HumanDuration | { trigger: 'manual'; } |
How often you want the task to run. The system does its best to avoid overlapping invocations. | ||
Duration | HumanDuration |
(Optional) The amount of time that should pass before the first invocation happens. | ||
'global' | 'local' |
(Optional) Sets the scope of concurrency control / locking to apply for invocations of this task. | ||
Duration | HumanDuration |
The maximum amount of time that a single task invocation can take, before it's considered timed out and gets "released" such that a new invocation is permitted to take place (possibly, then, on a different worker). |