• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stop processing  RSS feed

 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
Thanks for atleast replying...waited for a looong time....so worked around another logic...
Thanks anyway.
Mahesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!