aspose file tools
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 Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "PERIODIC CHECK" Watch "PERIODIC CHECK" New topic


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.

Ulf Dittmer

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

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
Have you tried LearnNowOnline?