I have a job that runs everyday. It looks for a file in a particular directory and takes it as an input file.
This file is generated by some previous job.
Sometimes this previous job does not run depending on various conditions that are unable to predict. But then
my job still looks for that file and fails if it cannot find the file.
Is there any way to check for this file before my job run and simply exit saying file not found, instead of failing.
Thanks
N
This file is generated by some previous job.
Sometimes this previous job does not run depending on various conditions that are unable to predict. But then
my job still looks for that file and fails if it cannot find the file.
Is there any way to check for this file before my job run and simply exit saying file not found, instead of failing.
Thanks
N