• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

stop the new same java instanceor program through an batch file

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
She'll be back. I'm just gonna wait here. With this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic