This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41125
    
  45
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
 
 
subject: PERIODIC CHECK
 
Similar Threads
how chat works in gmail?
Refresh a Servlet page
PERIODIC BLUETOOTH SCAN and OBEX send
Mac maintenance
Performance impact loadProperties