Practice: File Arrival
Objective
Use File Arrival to detect the arrival of a file.
Instructions
Create a Blank File
- In the Windows directory, create a new folder named
C:\Windows File Arrival
. - Within the new folder, create a blank text file named
WindowsFile1.txt
.
Create the Schedule
- Open Solution Manager.
- In Library > Administration, select on Master Schedule.
- Click the Add button.
- On the Master Schedule Definition screen:
- In the Name field, provide a Name for the Schedule.
- Add Documentation
- Select working days.
- Configure Auto Build and Auto Delete.
- Click Save
- Click Back
Create the File Arrival Job
- Select the Windows File Arrival schedule in Schedule List and click the View button.
- Select Add Job in the side menu
- On the Master Schedule Definition screen:
- In the Name field, enter the desired Job Name.
- In the Job Type drop-down, select Windows
- In the Machine Selectiondrop-down, select the desired Machine.
- In the User ID drop-down, select the desired USER ID.
- In the Job Action drop-down, select File Arrival
- In the File Name field, enter
"C:\Windows File Arrival\WindowsFile1.txt"
- In the Start Time drop-down, enter 0 day at
08:00 AM
- In the End Time drop-down, enter 0 day at
06:00 PM
- In the File Size Stable Duration (in secs) drop-down, enter
5
- Add Documentation to the Job.
- Give the Job a Frequency of Mon-Fri-N
- click Back
Build the Schedule
- Build the Schedule Released for today.
- In Processes, view the Schedule and verify that the Windows File Arrival Job is running.
- Once the Job runs, verify that the Job was created and that the file was found by inspecting the Job Output.