On 12/2/2010 3:17 PM, Joseph Morgan wrote:
Why can't you use process scheduling of your OS?
-----Original Message-----
From: Brian [mailto:[email protected]]
Sent: Thursday, December 02, 2010 1:52 PM
To: [email protected]
Subject: How to schedule events on Tomcat?
Hi,
I have a regular app in my Tomcat server, based on the request/response
paradigm.
I need some processes tu run at some specific intervals, lets say after 30
minutes of some events, or maybe every 30 minutes. Is there a way to do that on
Tomcat, to schedule events?
I don't want to try tying this process to the requests, because it would make
them run slower, and it would run twice at the same time if two requests arrive
almous simultaneously.
I use java.util.Timer and java.util.TimerTask for this.
D
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]