fix(core): update

This commit is contained in:
2020-09-02 13:04:12 +00:00
parent eee146ae8b
commit 575912eab7
5 changed files with 2576 additions and 1499 deletions

View File

@ -74,7 +74,6 @@ export class TaskManager {
await taskToSchedule.triggerBuffered();
});
taskToSchedule.cronJob = cronJob;
this.cronJobManager.start();
}
/**
@ -104,4 +103,18 @@ export class TaskManager {
* @param taskNameArg
*/
public getSchedulesForTaskName(taskNameArg: string) {}
/**
* starts the taskmanager
*/
public start() {
this.cronJobManager.start();
}
/**
* stops the taskmanager
*/
public stop() {
this.cronJobManager.stop();
}
}