Cisco Cisco Workload Automation 6.3 User Guide
49
Creating a File Dependency
Creating a Job with a File Dependency
Creating a Job with a File Dependency
To create a job with a File dependency:
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 toolbar.
on the toolbar.
The Job Definition
dialog displays.
3.
In the Job Name field, type EDI_Download.
4.
On the Program tab, enter the full path to the file for your platform in the Command field:
Windows
Edi.bat
5.
Click the Schedule tab and from the Calendar Name list select the work day calendar.
6.
Click the Dependencies tab.
7.
Display the File Dependency dialog by clicking the Add
button and selecting Add File Dependency field. Follow the
steps below for your platform:
Windows
a.
Enter C:\Program Files\<Installation Directory>\Agent\Tutorial\Edi_File.txt
in the File Name field. The full path
to this file must be typed in because the file does not yet exist. We will create Edi_File.txt
later, in the section
.
b.
The Agent Name field should already have a Windows agent listed–the agent you selected as your default agent
at the beginning of this tutorial. If there is no agent listed or an agent other than the Windows agent is selected,
then select your local Windows agent from the Agent Name list.
at the beginning of this tutorial. If there is no agent listed or an agent other than the Windows agent is selected,
then select your local Windows agent from the Agent Name list.
UNIX
a.
Enter
/Edi_File.txt
in the
File Name
field. The full path to this file must be typed in because the file does not
yet exist. We will create
Edi_File.txt
later, in the section
b.
The
Agent Name
field should already have a Unix agent listed–the agent you selected as your default agent at
the beginning of this tutorial. If there is no agent listed or an agent other than the Unix agent is selected, then
select your local Unix agent from the
select your local Unix agent from the
Agent Name
list.
Note: The Edi_File.txt file must reside in the / (root level) of the machine where the Unix agent is installed so this
tutorial works properly. Click
tutorial works properly. Click
OK
to accept the default settings. Cisco Workload Automation’s default is that the
dependency is met after the file is created.
8.
Click OK to accept the default settings. Cisco Workload Automation’s default is that the dependency is met after the
file is created.
file is created.
9.
Click the Dependencies tab.
The full path to EDI_File.txt appears in the Dependency Name column. The Type of dependency is listed as FILE
to
indicate that it is a file dependency.
10.
Click OK to save the job definition for EDI_Download.
11.
Click OK in the Effective Date
dialog to add the job to the schedule.