Cisco Cisco Workload Automation 6.3 User Guide
38
Setting Up a Job Dependency
Defining a Job for Operator Release
Note: Although the command executable has the same name as the job in this case, this is not required. The Job
Name is any logical name that is meaningful to you. However, the command name refers to the physical file and must
match the actual command.
Name is any logical name that is meaningful to you. However, the command name refers to the physical file and must
match the actual command.
4.
Click the Schedule tab.
5.
In the Calendar Name list and select the work day calendar.
6.
Click the Run tab, and in the Runtime Users list, select a runtime user with access to the Unix agent.
7.
Click the Options tab.
8.
Select the Require operator release option.
9.
Click OK to save the job definition.
10.
Click OK in the Effective Date
dialog to submit the job into today’s schedule.
11.
From the Navigator pane, select Operations>Job Activity to display the Job Activity pane.
Inv21 displays a Waiting On Operator status.
We will leave this job for now, and release it to the Production Schedule later after creating a second job with a
dependency on Inv21 completing normally.
dependency on Inv21 completing normally.
Adding a Job with a Dependency
We will now create the Inv22
job definition with a dependency on the Inv21 job already in the production schedule.
To create the Inv22 job definition with a dependency on the Inv21 job:
1.
From the Navigator pane, select Definitions>Jobs to display the Jobs pane.
2.
Right-click in the Jobs pane of the console and select Add Job from the context menu, or click the Add Job button
on the CWA toolbar.
on the CWA toolbar.
The Job Definition
dialog displays.
3.
Set the following options:
a.
In the Job Name field, type the name Inv22.
b.
In the Command field, enter the full path to
Inv22.bat (Windows).
4.
Click the Schedule tab.
5.
In the Calendar Name list, select the work day calendar.
6.
Click the Run tab, and in the Runtime Users list, select a runtime user with access to the Unix agent.
7.
Display the Dependencies tab, by clicking its tab on the Job
Definition dialog.
8.
Click the Add button to display the list.
9.
Select the Add Job Dependency option to display the
Job Dependency Definition dialog.
10.
Go to the Job/Group
list, click the down arrow button and select Inv21. It will appear in the Job/Group field.
11.
Accept the defaults and click OK. The defaults are preset to satisfy the dependency when Inv21 completes normally.
Now Inv21 shows as a dependency for Inv22. The Inv21 dependency is part of the job definition of Inv22.