I have a
java app program that will be executed every 5 mins from the windows scheduler. It is run from a .bat file. My problem is, sometimes the app may take more than 5 mins to end. In this situation I dont want the app to start.
Is there a way i can check in my java app if already another instance is running so exit. I checked the windows task manager and it shows entry for java.exe. This does not help as it can be any app that is using the java.exe.
Thanks,
Martin
[ May 17, 2005: Message edited by: Martin Lira ]