redis-quartz icon indicating copy to clipboard operation
redis-quartz copied to clipboard

Next Fire Time is null

Open SameerTi opened this issue 10 years ago • 1 comments

First of all thanks for this sample, i used as a reference and modified a bit, trying to make it as simple as possible, in my case triggers are stored as Hash keys as "trigger:grpName:cronTriggerTest"

hence in "acquireNextTriggers" this is what i do:

for (String triggerHashKey : stringRedisConnection.keys("trigger:grpName:cronTriggerTest") ) {

// do retrievetrigger ...

but this trigger always has next fire time as NULL and hence triggers never gets fired as we have a check here that: if ((trigger != null) && trigger.getNextFireTime() == null) { /** Trigger has no next fire time. Unset its WAITING state. **/ continue; } }

Note: i am also NOT using any trigger state logic here.

SameerTi avatar Jul 06 '15 13:07 SameerTi

Hi Sameer - thanks for reporting this. Our team is currently occupied with other tasks, but we'll try to attend to this matter asap.

itamarhaber avatar Jul 07 '15 12:07 itamarhaber