This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes How to execute another Thread when a Thead is put to Sleep? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "How to execute another Thread when a Thead is put to Sleep?" Watch "How to execute another Thread when a Thead is put to Sleep?" New topic
Author

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

Vikas J Yadav
Greenhorn

Joined: Jul 10, 2013
Posts: 16


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

Joined: Jun 26, 2009
Posts: 39



Hope that you full fill your need.


SCJP 6.0
SCBCD for JEE 5

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to execute another Thread when a Thead is put to Sleep?
 
Similar Threads
Writing scheduled task with start and end time
Unable to create an instance!!
Elegant way of ending a thread
Thread.sleep
MaximumThroughput- MltiThreading - Need help