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

Timer

Justin Russo
Ranch Hand

Joined: Oct 21, 2007
Posts: 77
Hi ,

How do we create a timer which executes the same task a t specific time of the day?
for e.g.

i want to execute print "hello world" at 3:00 PM and then at 4:00 PM

thnx


You Want it.. Get it.......the Right Way...<br /> <br />SCJP 5.0 SCWCD 5.0
Oleg Tikhonov
Ranch Hand

Joined: Aug 02, 2008
Posts: 55
Hello,
please look at here Timer example
and javadoc.

Hope it helps.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

You may also want to check out Quartz.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timer