Normally, when a trigger reaches its end time, quartz automatically deletes the entry from the qrtz_triggers table.
However, when I set the misfire instruction to MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_REMAINING_COUNT, the entry in the qrtz_triggers table is marked with COMPLETED state with next_fire_time=-1. The entry is not removed from the table by quartz.
1. Why is the trigger in the above misfired case not deleted from the table by quartz?
2. Is there any api method can be used to delete such entry?