feat(fix):定时任务修复

This commit is contained in:
junjie 2021-06-02 17:10:43 +08:00
parent e20f4c23ed
commit fa10f46a75

View File

@ -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()),