|
@@ -23,7 +23,7 @@ public class JobsInitialization {
|
|
List<ScheduleJobEntity> jobEntityList = scheduleJobEntityRepo.findAll();
|
|
List<ScheduleJobEntity> jobEntityList = scheduleJobEntityRepo.findAll();
|
|
|
|
|
|
for (ScheduleJobEntity jobEntity : jobEntityList) {
|
|
for (ScheduleJobEntity jobEntity : jobEntityList) {
|
|
- if (jobEntity.getEnable()) {
|
|
|
|
|
|
+ if (!jobEntity.getEnable()) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
ScheduleJob scheduleJob = new ScheduleJob();
|
|
ScheduleJob scheduleJob = new ScheduleJob();
|