File Watcher Job Type is meant for waiting for the condition indefinitely, there is no option to exit unless you define a job_terminator or max_run_alarm attribute for the job.
If you wish to get notified on file events like CREATE, SHRINK, UPDATE or DELETE etc, you can make use of File Triggers, the File Trigger job type allows you to run in continuous and wait modes. Please check the documentation for more information.
------------------------------
Regards,
Venkateshwar Badrigari
AutoSys Sustenance Engineering Team
venkateshwar.badrigari@broadcom.com------------------------------
Original Message:
Sent: May 10, 2022 10:06 AM
From: Preethi Katragadda
Subject: Run file watcher indefinitely
Hello,
I have a situation where we do not have control over when we will receive the file, some times we may get a file every day and then some times may be once a week or once a month. how do I set up my file watcher to not fail but to continue to watch for file for a week or a month or however long it takes for the next file to come in and not fail?
I am new to Autosys and really appreciate any inputs!!!