Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timer  RSS feed

 
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
Posts: 20893
81
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
Boost this thread!