Hello,
Got an issue I can't seem to get my head around.
Context:
Between 6am-10pm, need to scan for a file. Once the file is present, kick off a processing job. Once that job completes successfully, restart scanning for an another occurrence of the file.
Question:
How would I need to set up the FileTrigger job and the Command job, in order to accomplish this loop, in that specific execution time window (optional)?
I mean, if I set up the FT job with a start time AND a condition from the CMD job, if there is no CMD job execution beforehand, the FT will never kick off. But, if I take out the condition coming from the CMD job, the job will execute only on next timed occurrence (if I set it up that way at all). What I need is for the FT to restart scanning right after the Command job completes. But the initial start of the FT job comes into conflict with the restart based solely on the condition from the CMD job. Kinda an egg and chicken type of a problem.
N.B. The 6am-10pm exec time window can be removed if it make this loop impossible. If there is a simple way of having this loop working, the time widow is out the window.
Thank you very much in advance for any assistance. Appreciated.
Tom