redis-quartz
redis-quartz copied to clipboard
Next Fire Time is null
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.
Hi Sameer - thanks for reporting this. Our team is currently occupied with other tasks, but we'll try to attend to this matter asap.