
Advanced Scheduling 3: Deciding Which Job to Schedule
Goal
: Add decision-making logic to a background job. Very few procedures can be represented without decision-making logic. In this sample, the initial job implements some simple decision-making logic to decide which additional job to schedule. It does this by running the Sched-next program to evaluate the day of the week and schedule a job accordingly.Implementing Simple Decision-Making.
