I queuing and quartz to send email from my application Net is used. I do not know that each scheduled action gives an answer to a stop, stop, or stop application. There is no such method in the IJob interface that can notify the current job about these events.
My question is how can I handle these issues so that it can exit the application and the data is stable state?
Make sure you call IScheduler.Shutdown (true)
The application closes, it will wait for all the jobs to finish and ensure that everything has been cleaned properly.
Comments
Post a Comment