Hi,
I have a batch jobs which fetches data from source DB (oracle 10g) and to be executed after connection is released on daily basis.
Because of this dependency of connection release by source team DB team and manually checking connection and release then executing job manually is tedious task and because of this I have to work on weekends and on holidays too.
Now I want to automate the Job based on Below conditions so that I don't have to work on weekends and on holidays.
1> Checking IF connection is released or not
a. if Yes then Job should get started.
in the middle of job execution connection fluctuation may happen and job may get killed. In that case it should get started again.
b. If job is already running or has been executed successfully it should not get started.
c. If Connection is not released then redo step 1 may be at an interval of 1hours. (pts. a & b should be taken into consideration)
Regards,
Sachin Gupta