aspose file tools*
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 Java 8 in Action this week in the Java 8 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
MaximumThroughput- MltiThreading - Need help
Unable to create an instance!!
Thread.sleep
Elegant way of ending a thread