Quote:
Originally Posted by
Shell_Life
As you say, your process is looking for a file, if it does not find it, there is nothing to process.
Your job should always be running.
Whenever it finds a file, it should process it, then move it out of the working directory.
Guess have not phrased the requirement correctly...
Autosys jobs
test_box status RU
job1 (filewatch job)---status RU
job2 (command job)---status AC
File arrives in file watch folder ,job1 is triggered ,which in turn triggers job 2 and completes to success and file is removed the the file watch folder.
test_box status SU
job1 (filewatch job)---status SU
job2 (command job)---status SU
Now if a file comes again the job 1 won't be triggered since it is in SU status not in running status.
How to get the box back in Running status automatically , so that this works anytime a new file comes