From d051d8e508b3879d2abe3ac797870206d9eeb3f0 Mon Sep 17 00:00:00 2001 From: Murtuza Chhil Date: Sat, 19 Dec 2020 08:54:52 +0530 Subject: [PATCH] Update QuartzAdaptor.java The startservice was missing the registering of the trigger. I have this in my prod code, its somehow got missed in the https://github.com/jpos/jPOS-EE/pull/82 --- modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java b/modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java index fe6fcd4744..0dfb7a7d6a 100644 --- a/modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java +++ b/modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java @@ -85,6 +85,8 @@ protected void initService() throws Exception { Logger.log(evt); } protected void startService() throws SchedulerException { + scheduler.getListenerManager() + .addTriggerListener(this); scheduler.start(); } protected void stopService() throws SchedulerException {