Skip to main content

SchedulerService

SchedulerService

The service that is responsible for setting up and querying the scheduled tasks.

Signature
class SchedulerService implements OnApplicationBootstrap {
constructor(configService: ConfigService)
onApplicationBootstrap() => ;
getTaskList() => Promise<TaskInfo[]>;
updateTask(input: UpdateScheduledTaskInput) => Promise<TaskInfo>;
}
  • Implements: OnApplicationBootstrap

constructor

method
(configService: ConfigService) => SchedulerService

onApplicationBootstrap

method
() =>

getTaskList

method
() => Promise<TaskInfo[]>

Returns a list of all the scheduled tasks and their current status.

updateTask

method
(input: UpdateScheduledTaskInput) => Promise<TaskInfo>