AutoSys Workload Automation

 View Only
  • 1.  File watcher job not picking up multiple files

    Posted Jun 25, 2019 02:11 PM
    Edited by Vamshi Reddy Jun 25, 2019 03:18 PM
    ​Hello,

    I have a file watcher job scheduled with term_run_time of 10 mins and watch_interval of 5 mins.

    For example, I have force started the job at 12:53 and dropped the first file at 12:55 and second file at 12:57. The file watcher job ran to success at 13:00. But when I checked the event_demon log, it appears only one file is picked up and no action on the second file. Also, I have tested one more scenario, where I placed both the files in the path first and force started the file watcher job and then also the event_demon log shows the same that it had picked up only one file .

    Please help on this issue why the file watcher job not able to pick up multiple files here?

    Autosys Verison:

    11.3.6 SP 0



    ------------------------------
    Thanks,
    Vamshi
    ------------------------------
    ​​


  • 2.  RE: File watcher job not picking up multiple files
    Best Answer

    Broadcom Employee
    Posted Jun 25, 2019 02:55 PM
    AutoSys "latches" on to the first file that matches the "watch_file" attribute. It won't continue to look for other files once a match is found.


  • 3.  RE: File watcher job not picking up multiple files

    Posted Jun 25, 2019 03:13 PM
    Edited by Vamshi Reddy Jun 25, 2019 04:34 PM
    Thanks Steve.​

    ------------------------------