Hi, In the main method, after doing some processes, start the Thread. In the run method check whether a file exists or not... But this check is done after every 7 minutes...Wht is want is there any way out by checking the existence of file in the main method and when this file exist , do not hinder with the updateDB() method(as this is related to DB update), should execute fully... Any help???
Thanks in advance Mahesh [ inserted CODE tags - PdH ] [ April 04, 2002: Message edited by: Peter den Haan ]
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
posted
0
Manesh, I am sorry but after a couple of readings I'm still not sure what your question is exactly. The code you present looks like it should do what I think you're trying to do. Can you rephrase the question, and/or post a code snippet that contains only what's relevant to the problem? Thanks - Peter
Mahesh Mamani
Ranch Hand
Joined: Jun 25, 2001
Posts: 110
posted
0
Peter, Thanks for atleast replying...waited for a looong time....so worked around another logic... Thanks anyway. Mahesh