Sahina Bose has posted comments on this change. Change subject: engine: Quartz cron scheduler to support startAt and endBy ......................................................................
Patch Set 1: (1 comment) https://gerrit.ovirt.org/#/c/37533/1/backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerUtilBaseImpl.java File backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerUtilBaseImpl.java: Line 269: .build(); Line 270: sched.scheduleJob(job, trigger); Line 271: } catch (Exception se) { Line 272: log.error("failed to schedule job: {}", se.getMessage()); Line 273: log.debug("Exception", se); > Shouldnt we do this for old one as well without startAt and endBY parameter Yes, we should - especially if you look at JobId as indication that job has been successfully scheduled Line 274: } Line 275: return job.getKey().getName(); Line 276: } Line 277: -- To view, visit https://gerrit.ovirt.org/37533 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I5c3372098177dabbbe886660c9d7a586784b99be Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <wallaroo1...@gmail.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches