10-26-2015 01:45 PM - edited 03-01-2019 09:18 AM
I have an external web service that creates file for me to process.
This process can take from 5-25 minutes, so I want the jobs to have a file dependency rather that a completion dependency on the web service job.
My concern is that I only want the job to run when the files acutally get generated, and to complete abnormally if the files were never generated.
What is the best way to go about this with Tidal? I'm essentially trying to recreate the functionality of a file dependency in autosys, with an "alarm after" condition. For this example, after 30 minutes, I'd like the job that processes the file to complete abnormally.
Is the best approach to this a Job Action?
Thanks!
10-27-2015 09:34 AM
On the file dependency, you may use the condition that file size is stable for a certain amount of time.
You may also use the file event instead to trigger your job where you can use File size stable for (milliseconds) option
10-27-2015 09:38 AM
I agree, the file dependency waits for the file to be stable for a minute before proceeding - this works great.
What I'm trying to identify is the condition where the file is never produced by the web service. At present, if I don't get a file at all it just never executes and I want to have an alert if the file never arrives.
10-27-2015 11:32 AM
Will this help ?
https://supportforums.cisco.com/discussion/12201776/file-event-events
10-27-2015 11:45 AM
You mentioned 'so I want the jobs to have a file dependency rather that a completion dependency on the web service job.'
Hope you have tried setting both web service job dependency and file dependency on second job. You could have an AND / OR condition
You could possible consider a third monitoring job that has two dependencies
If both conditions are satisfied then it means the file hasn't been produced by the web service. In which case, the third job can send alerts
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide