Skip to main content

SchedulerService.getScheduledTasks()

Home > @backstage/backend-plugin-api > SchedulerService > getScheduledTasks

Returns all scheduled tasks registered to this scheduler.

Signature:

getScheduledTasks(): Promise<SchedulerServiceTaskDescriptor[]>;

Returns:

Promise<SchedulerServiceTaskDescriptor[]>

Scheduled tasks

Remarks

This method is useful for triggering tasks manually using the triggerTask functionality. Note that the returned tasks contain only tasks that have been initialized in this instance of the scheduler.