Here are the scenarios for job execution:
- Jobs can be any .NET class that implements the simple IJob interface, leaving infinite possibilities for the work that jobs can perform.
- Job class instances can be instantiated by Quartz.NET, or by your application's framework.
- When a trigger occurs, the scheduler notifies zero or more .NET objects implementing the JobListener and TriggerListener interfaces. These listeners are also notified after the job has executed.
- As jobs are completed, they return a JobCompletionCode that informs the scheduler of success or failure. JobCompletionCode can also instruct the scheduler of any actions it should take, based on the success/fail code, such as immediate re-execution of the job.