|
@@ -36,11 +36,11 @@ public class SysJobServiceImpl extends ServiceImpl<SysJobMapper, SysJob> impleme
|
|
|
*/
|
|
*/
|
|
|
@PostConstruct
|
|
@PostConstruct
|
|
|
public void init() throws SchedulerException, TaskException {
|
|
public void init() throws SchedulerException, TaskException {
|
|
|
- /* scheduler.clear();
|
|
|
|
|
|
|
+ scheduler.clear();
|
|
|
List<SysJob> jobList = list();
|
|
List<SysJob> jobList = list();
|
|
|
for (SysJob job : jobList) {
|
|
for (SysJob job : jobList) {
|
|
|
ScheduleUtils.createScheduleJob(scheduler, job);
|
|
ScheduleUtils.createScheduleJob(scheduler, job);
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|