Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to execute another Thread when a Thead is put to Sleep?

 
Vikas J Yadav
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi in the above code I have to run reports. A report will run repeatedly at certain frequency for eg every min , every hour or daily. What i want is when the Thread for the first report is not running then the thread for next Thead should start the excution. Please let me know How this can be achieved?

Thanks.
 
Rohit Aggarawal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Hope that you full fill your need.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic