Waking threads up at a specified time.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Val_Blant
Posted On:   Wednesday, March 13, 2002 01:10 PM

Hi. I was wondering if there is a good way to wake a thread up at a specified time.

I need my application to perform a set of operations every day at 8:00am. However, I don't know how to achieve that, other than having an infinate loop that checks the time on every iteration.... Is there a better way?


Thank you.

Re: Waking threads up at a specified time.

Posted By:   Laurent_Mihalkovic  
Posted On:   Wednesday, March 13, 2002 06:37 PM

definitely there are better ways. :)

have a look a the following url, it is an article from a recent issue of JavaPro addressing your exact problem.

JavaPro feb 2002

cheers,
laurent

About | Sitemap | Contact