Fetch the "Last Ran At" time for a quartz job

quartz-scheduler

Solution

Strictly speaking, a Job doesn't have a fire time, a Trigger does. And Trigger has getPreviousFireTime(). See http://www.quartz-scheduler.org/api/2.2.0/org/quartz/Trigger.html#getPreviousFireTime%28%29

If your Job has multiple triggers, you can retrieve them all and examine their fire times. See the cookbook examples at http://www.quartz-scheduler.org/docs/cookbook/index.html

Problem

Is there an API to determine the last execution time of a quartz job. Thanks, Sandhya

Original source