This commit is contained in:
哆啦好梦
2023-04-07 22:43:59 +08:00
parent 85e6ac5f57
commit b15db4f4c2
2 changed files with 2 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ class ExampleService extends Service {
let res = {};
let timerTask;
const channel = 'controller.example.timerJobProgress';
if (action == 'create') {
if (action == 'run') {
// 执行任务及监听进度
timerTask = this.myJobPool.run('./jobs/example/timer', {jobId});