Quartz.NET - getting jobs using IJobListener

I am using Quartz.NET for the application I am creating, and currently I have an IJobListener that listens for any errors with tasks, and then sends emails to administrators. It would be great if I could also throw an generated exception, but how to get an exception from IJobListener?

+3
source share
1 answer

JobWasExecutedthe method is transferred JobExecutionException(if it was thrown during the start of the task).

+2
source

Source: https://habr.com/ru/post/1771465/


All Articles