Skip to main content

SchedulerServiceTaskScheduleDefinition.frequency

Home > @backstage/backend-plugin-api > SchedulerServiceTaskScheduleDefinition > frequency

How often you want the task to run. The system does its best to avoid overlapping invocations.

Signature:

frequency: {
cron: string;
} | Duration | HumanDuration | {
trigger: 'manual';
};

Remarks

This is the best effort value; under some circumstances there can be deviations. For example, if the task runtime is longer than the frequency and the timeout has not been given or not been exceeded yet, the next invocation of this task will be delayed until after the previous one finishes.

This is a required field.