Practice: SubSchedules
Objective
To use a Resource to prevent multiple Container jobs from kicking off at the same time.
Instructions
Create Resource
- In Library > Administration, select Resources.
- Click the Add button.
- In the Resource pop-up window:
- Provide a Name for the Resource.
- In the Description field, enter some documentation.
- In the Max Resources field, enter
1
. - Save.
- Click Back
Create Primary Schedule
- In Library > Administration, select on Master Schedules.
- Click the Add button.
- Provide a Name for the Schedule.
- In the Documentation field, enter some documentation
- Save.
Create the Sub-Schedule
- In Library > Administration, select on Master Schedules.
- Click the Add button.
- On Master Schedule Definition screen:
- Provide a Name for the SubSchedule.
- In the Schedule Settings frame, mark the SubSchedule checkbox.
- Click the Save button.
Create Container Jobs
- In Library > Administration, select on Master Schedules.
- Select the Process Files Schedule.
- Select View.
- Select Add Job in the side menu.
- On the Master Job Definition screen create a Container Job:
- Provide a Name for the Container Job.
- In the Job Type dropdown, select Container.
- On the Master SubSchedule dropdown, select the newly created Subschedule.
- Click the Save button.
- Click the Lock icon in the upper right-hand corner.
- Scroll to and expand the Frequency box.
- Select or Create a desired Frequency.
- In the Add Resource Dependency section select the previously created Resource
- Enter the value of
1
and Save. - Click Save.
- Utilizing the Copy feature, copy the first Job until you have 5 new Jobs with a similar naming convention.
Build the Schedule
- In Operations, build the Primary Schedule released for today and check the results.