permaculture playing cards*
The moose likes Beginning Java and the fly likes PERIODIC CHECK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "PERIODIC CHECK" Watch "PERIODIC CHECK" New topic
Author

PERIODIC CHECK

Zaafir Barahim
Ranch Hand

Joined: Dec 12, 2006
Posts: 36
java code to do a periodic check and to run the desired code for a periodic interval time
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
something to do something at some time for some duration.


42
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41591
    
  55
I'm not exactly sure what you are asking, but have a look at the java.util.Timer and TimerTask classes.


Ping & DNS - my free Android networking tools app
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I too am not 100% sure what you are asking, but I suspect it can be answered by the classes Ulf mentions above. And in that case, this is not an advanced question, so I'll move this topic to a more appropriate form.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PERIODIC CHECK