SchedulerService
The service that is responsible for setting up and querying the scheduled tasks.
- Implements: OnApplicationBootstrap, OnApplicationShutdown
constructor
method
(configService: ConfigService, processContext: ProcessContext) => SchedulerServiceonApplicationBootstrap
method
() => onApplicationShutdown
method
(signal?: string) => getTaskList
method
() => Promise<TaskInfo[]>Returns a list of all the scheduled tasks and their current status.
updateTask
method
(input: UpdateScheduledTaskInput) => Promise<TaskInfo>runTask
method
(taskId: string) => Promise<Success>Was this chapter helpful?