I’m going to be using Quartz.NET for a Windows Service I am creating.
I require all jobs carried out to be audited into a separate table (QRTZ_AUDIT) after completion or after failure, but is there a built in way of doing this?
I could simply manually open up connections to both the jobs table and the audit table and copy the relevant row to the audit table, but it seems like a lot of effort when there may be built in functionality.
You need to implement the
IJobListenerinterface for this. You register this listener to the scheduler usingAddGlobalJobListener.See also this question for more information.