Okay, I'm not even sure if what I want to do is possible, but I'm hoping it is.
We currently use CISCO's Tidal Scheduler for a variety of tasks, one of which is related to the import of files from partners- specifically detecting the files, decrypting them (when necessary), and moving them to a processing directory.
The Problem
Because of business decisions over which I have no control, partners FTP one of two files to us into one of 15 directories; we then write responses to one of 15 OTHER directories. In Tidal, this means we create 60 jobs for each new vendor.
The folder structure and up-to 60 files thing is not going to change. However inconvenient it is.
So, I'm looking for one of two solutions:
- (preferred): Create a dynamic job which can watch the subdirectories of a given root folder and then run a single job based on the folder in which a file was found and the specific filename.
- A programmatic way to create and insert new jobs in Tidal, so that we at least don't have to set up these 60 jobs per partner by hand.