Bookmark Topic Watch Topic
  • New Topic

Scheduling and Checking a Java Programme.

 
singh gaurav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi EveryBody,

I have to create two class A, and class B.

1. class A have some methods executed sequentialy within an infinite loop,

2.class B have some logic to check Class A programme is running or not in every 2 minutes, if class A programme is not running then start it,

please suggest me a way to implement both class A & class B.

In abstract
>> How can i check class A is running or not?
>> How can i start class A execution from Class B ?
>> How can i schedule running of Class B application in every 2 mins in a windows environment?
>> How can i implement a infinte java loop ,with out stack over flow.

Hope for your complete reply

Thanks
Gaurav
ctgaurav@gmail.com
 
Stephan van Hulst
Bartender
Posts: 6583
84
  • Mark post as helpful
  • send pies
  • Report post to moderator
CarefullyChooseOneForum, please.

Let's continue here: http://www.coderanch.com/t/548300/threads/java/Scheduling-Checking-Java-Programme
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!