I have developed an
java application where the functionality is picking a set of files(Max 20 files each of max 10 MB) from file server and updating it into a blob of oracle database.This functionality has run for every 30 min through an window scheduler. so I try to call this java class through an batch file in the window scheduler for every 30 minutes.
But in some cases if already the previous java class is running even after 30 min for file transfer,the next new java instance(which starts in next job schedule) should not be started. It should start only after the previous one is completed .
I am trying to insert this logic in the batch file.Can you please help me how can I do this?I have been stucked up with it.