Question

I'm using Quartz.NET for an application I am creating, and I currently have an IJobListener listening for any errors with jobs, then sending emails off to the administrators. It'd be great if I could email the exception generated too, but how do I get the exception from the IJobListener?

Was it helpful?

Solution

The JobWasExecuted method is passed a JobExecutionException (if one was thrown during the triggering of the job).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top