aspose file tools*
The moose likes Java in General and the fly likes How to define running interval for Java Window Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to define running interval for Java Window Service" Watch "How to define running interval for Java Window Service" New topic
Author

How to define running interval for Java Window Service

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208
Hi

I am making Window Service in java.

I have created that and its also working fine.

What i want to do now is that, i want that my service keep on running and will perform some specific action after particular interval of time.

Please help me for this.

Thanks
Gaurav
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have a look at java.util.Timer and java.util.TimerTask.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to define running interval for Java Window Service
 
Similar Threads
Service Status
how to use setTimeout function
Cancelling a ScheduledExecutorService
Taking Memory Usage Periodically
Pagination & Session Management