You could 'roll your own' using the TimerTask class.

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 16 February 2005 05:54
To: Struts Users Mailing List
Subject: Re: automatic periodic execution of code


I think Quartz has been the general consensus most times this has been 
debated on the list.

Sng Wee Jim wrote:

> Hi,
> 
> 
> 
> 
> What would be the recommended way to execute some code periodically on
> tomcat/appserver?
> 
> 
> 
> 
> 
> Should I
> 
> 
> 1.    start a thread (not recommended in appserver and tomcat?) and do
> it in the run method
> 
> 2.    use third party tool like Quartz
> 3.    or is there existing struts plugin to do it?
> 
> 
> 
> 
> 
> 
> 
> - Jim
> 
> 
> 
> 
> 
> 
> 
> ************************************************************************
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorized. If you are not
> an intended recipient, please notify the sender of this email
> 
> immediately. You should not copy, use or disseminate the
> 
> information contained in the email.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Capco.
> 
> http://www.capco.com/
> 
> ************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 Click https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==  to report this 
email as spam.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to