A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Execute Block of code using core java
Joined: Aug 31, 2008
Feb 15, 2010 08:45:45
i have a requirement that i need to execute a block of code for every 30minutes using core
only.Please let me know how can i do it?
Thanks in advance.
Joined: Sep 28, 2004
Feb 15, 2010 08:54:30
For one task.... try java.util.Timer
For many tasks, and more complex requirements... try java.util.concurrent.ScheduledThreadPoolExecutor
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
I agree. Here's the link:
subject: Execute Block of code using core java
integer command line arguments?
Purpose of Finally Block
To enable landscape finish for taking printout using java script
i want excute top command in linux using java
return of the try-catch
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014