Summary
This chapter gave you a quick look at the two basic types of events that play a role in the Scheduler: the event generated by status changes in a running job and the event that causes a job to run. Both are very important factors in the power of the Scheduler. The objects that we have discussed in the chapter are:
How we can schedule time-based and event-based jobs
How jobs can generate events
How jobs can wait for events to get the job running
How to listen to events
How to generate events
How to get the payload of an event (de-queue)
How to find the step name that caused the event to happen
Why we need quota when using a user event queue
What privileges we need to be able to use scheduler events
What is the advantage of monitoring jobs using the event system
Which events a job can cause
How to write a short form containing all possible events
Scheduler is an impressive tool that enables us to build complex systems. In the next chapter, we will see a few tricks to help you when debugging it...