This is what I did, by setting the durability of the Corn Job to true shouldn't I be able to see the entries in the [u][b]qrtz_fired_triggers[/b][/u] for the all previous instances of this corn job triggered which were successful.
JobDetail job = new JobDetail("job1", "group1", SampleJob.class);
job.setDescription("Sample Job running for testing");
job.setDurability(true);
job.setRequestsRecovery(true);
CronTrigger trigger = new CronTrigger("trigger1", "group1", "job1",
"group1", "0/20 * * * * ?");
sched.addJob(job, true);
Date ft = sched.scheduleJob(trigger);
log.info(job.getFullName() + " has been scheduled to run at: " + ft
+ " and repeat based on expression: "
+ trigger.getCronExpression());
Thanks
Rakesh
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=401454&messageID=490325#490325---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...