• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer

 
Justin Russo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Oleg Tikhonov
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
please look at here Timer example
and javadoc.

Hope it helps.
 
Rob Spoor
Sheriff
Pie
Posts: 20559
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to check out Quartz.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic