Directory Watch
The Directory Watch job type can be configured to watch a directory for new or modified files. When a new file is created in the directory, or a file is modified, an instance of the configured job type (from the job parameters) is scheduled for immediate processing with the new or modified file indicated as the input file. The Directory Watch job type accepts both a directory and a file pattern on which to scan. This job type can be used to monitor an incoming FTP directory for files transmitted from an external source, such as INTTRA.
The following Job Parameters may be specified when defining a Directory Watch job type:
- Parameter 1 – Directory (Required): Specifies the directory to be watched.
- Parameter 2 – Target Job Definition (Required): Specifies the name of the Job Definition, an instance of which should be initiated when a matching file is identified.
- Parameter 3 – File Pattern (Optional): Specifies a filename pattern on which to scan within the directory. If not specified, “*.*” (all files) is applied by default.
- Parameter 4 – New or Modified (Optional): If not specified, the system applies Both.
- New: The job type will watch for new files only
- Modified: The job type will watch for modified files only
- Both: The job type will watch for both new and modified files
Entity Selection Criteria Usage
This job type does not use ESCs. Any ESCs defined will be ignored.
Note: For more details, see the "Job Server" topic in the Transportation Manager System Administration Guide.
See Also