tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian" <brianbr...@gmail.com>
Subject RE: How to schedule events on Tomcat?
Date Thu, 02 Dec 2010 23:25:34 GMT
Thanks!

> -----Original Message-----
> From: David kerber [mailto:dckerber@verizon.net]
> Sent: Thursday, December 02, 2010 05:05 PM
> To: Tomcat Users List
> Subject: Re: How to schedule events on Tomcat?
> 
> 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:bbprefix-tomcat@yahoo.com]
> > Sent: Thursday, December 02, 2010 1:52 PM
> > To: users@tomcat.apache.org
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message