Re: [OT] RE: automatic periodic execution of code

2005-02-16 Thread Gaet
e.toString()); > throw new ServletException(e); > } > > log.debug("Quartz started"); > } > > public void destroy() { > log.info("Quartz stopping"); > > try { > sched.shutdown(); > } catch (SchedulerException ex) { > ex.printStackTrace(); &

[OT] RE: automatic periodic execution of code

2005-02-16 Thread Barnett, Brian W.
PROTECTED] Sent: Wednesday, February 16, 2005 2:47 AM To: Struts Users Mailing List Subject: Re: automatic periodic execution of code Hello, I know it is not the right place but does someone make Quartz works with Websphere??? I'm trying this since two days and I'm unable to make it works..

Re: automatic periodic execution of code

2005-02-16 Thread Gaet
sage - From: "Cedric Levieux" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, February 16, 2005 10:19 AM Subject: Re: automatic periodic execution of code > Thanks for the Quartz project, I'll try it. for the moment I've got my own

Re: automatic periodic execution of code

2005-02-16 Thread Cedric Levieux
om: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, February 16, 2005 6:54 AM Subject: Re: automatic periodic execution of code > I think Quartz has been the general consensus most times this has been > debated on the list. > &

RE: automatic periodic execution of code

2005-02-16 Thread McCormack, Chris
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

Re: automatic periodic execution of code

2005-02-15 Thread Andrew Hill
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 ru

automatic periodic execution of code

2005-02-15 Thread Sng Wee Jim
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?