From 4dbd555f91c03c143d0d4897ec3d526fe12f918b Mon Sep 17 00:00:00 2001 From: himeshr Date: Mon, 6 Jan 2025 17:10:50 +0530 Subject: [PATCH] Revert "#110 | set first run trigger startTime to now" This reverts commit 4a29cee5b157eb13d1a01d10d89ebb7f5d37f2b9. --- .../etl/controller/backgroundJob/EtlJobController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/avniproject/etl/controller/backgroundJob/EtlJobController.java b/src/main/java/org/avniproject/etl/controller/backgroundJob/EtlJobController.java index 678e876..a6e8f5c 100644 --- a/src/main/java/org/avniproject/etl/controller/backgroundJob/EtlJobController.java +++ b/src/main/java/org/avniproject/etl/controller/backgroundJob/EtlJobController.java @@ -106,7 +106,7 @@ private Trigger getHigherPriorityTriggerForFirstRun(JobScheduleRequest jobSchedu .withIdentity(scheduledJobConfig.getTriggerKey(jobScheduleRequest.getEntityUUID() + "run1", jobScheduleRequest.getJobGroup())) .forJob(jobDetail) .withSchedule(simpleSchedule().withMisfireHandlingInstructionFireNow()) - .startNow() + .startAt(DateTimeUtil.nowMinusMinutes(30)) .withPriority(6) //higher than default (5) .build(); return trigger;