forked from github/dataease
feat(fix):定时任务修复
This commit is contained in:
parent
e20f4c23ed
commit
fa10f46a75
@ -34,9 +34,9 @@ public class ScheduleService {
|
||||
endTime = null;
|
||||
} else {
|
||||
endTime = new Date(datasetTableTask.getEndTime());
|
||||
if (endTime.before(new Date())) {
|
||||
return;
|
||||
}
|
||||
// if (endTime.before(new Date())) {
|
||||
// return;
|
||||
// }
|
||||
}
|
||||
|
||||
scheduleManager.addOrUpdateCronJob(new JobKey(datasetTableTask.getId(), datasetTableTask.getTableId()),
|
||||
|
Loading…
Reference in New Issue
Block a user