Job Management Partner 1/Automatic Job Management System 3 System Design (Work Tasks) Guide
If you want to execute the same jobnet more than once and at regular intervals during the course of a day, define the jobnet using one of the following three methods:
- Method 1: Create a single jobnet, and then define multiple schedule rules.
- Method 2: Create a new jobnet for each start time.
- Method 3: Specify an interval control setting as a start condition for the jobnet.
- Organization of this subsection
- (1) Methods for defining the jobnet
- (2) Advantages and disadvantages of each method
(1) Methods for defining the jobnet
Each of these methods is described in the following paragraphs. Each description uses, as an example, the creation of a jobnet that executes 24 times a day in one-hour intervals, between 7 a.m. on the current day and 6 a.m. the following day.
- Method 1: Create multiple schedule rules
- Create a single jobnet, and define the jobs to be executed.
- Create 24 individual schedule rules with staggered start times of 07:00, 08:00, 09:00 and so on.
- When you register the jobnet for execution, the jobnet is executed every hour according to the start times specified in the schedule rules.
- Method 2: Create a new jobnet for each start time
- Create a single jobnet.
- Create a nested jobnet, and define the jobs to be executed.
- Copy the nested jobnet you created in step 2, and create a total of 24 identical nested jobnets.
- Set a different start time between 07:00 and 06:00 for each nested jobnet.
- When you register the jobnet for execution, each nested jobnet is executed according to its respective start time.
- Method 3: Specify an interval control setting as a start condition for the jobnet
- Create a single jobnet, and define the jobs to be executed.
- Create a start condition, and attach an execution interval control job.
- Set the Waiting time of the execution interval control job to 60 minutes.
- Create a schedule rule, setting the execution start time to 6:00, and the valid range of the start condition to 24 times.
- The execution interval control job is activated at the execution start time. It then waits until the specified waiting time has passed before executing the jobnet. When you define the jobnet, set the start time to a time that is earlier than the time when you first want the jobnet to execute, by a length of time equivalent to the waiting time.
- When you register this jobnet for execution, the jobnet begins to monitor the start condition at 6:00. 60 minutes later, at 7:00, the start condition is met and the jobnet is executed for the first time. The jobnet is then executed every 60 minutes, according to the start condition.
(2) Advantages and disadvantages of each method
The following table explains the advantages and disadvantages of the three methods.
Table 3-4 Advantages and disadvantages of each method of executing the same jobnet periodically
Method Advantages Disadvantages Method 1
- Defining jobnets is easy.
- Jobnets have a simple configuration.
- When you define a jobnet as a root jobnet, you can enable concurrent execution or schedule skip.
- Defining schedules is time consuming.
- To change the schedule, you must change all the schedule rules.
Method 2
- You can apply this method to any type of jobnet.
- You can check which instance of the jobnet is currently executing using the jobnet monitor.
- You can rerun a job or cancel execution of a job from within the jobnet monitor.
- You need to create one nested jobnet each time you want to execute the jobnet.
- You need to define a schedule for every nested jobnet.
- To change a schedule rule, you must change the schedule rules for every nested jobnet.
- Changing the process that is executed is time consuming.
Method 3
- Jobnets have a simple configuration.
- You can only use this method with a root jobnet.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.