You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luciano Costa <lu...@suryatec.com.br> on 2005/06/21 16:35:23 UTC
periodically servlet call
Hi all!
I would like to configure Tomcat to run a specific servlet periodically
(e.g. hourly).
it's possible? where do I this config?
thanks in advance!
RE: periodically servlet call
Posted by Martín Cabrera <ma...@abitab.com.uy>.
You may try a Job Scheduler like Quartz...servlets are not suitable for
this.
http://www.opensymphony.com/quartz/
Regards.
Martín.
-----Mensaje original-----
De: Luciano Costa [mailto:luciano@suryatec.com.br]
Enviado el: Martes, 21 de Junio de 2005 11:35 a.m.
Para: tomcat-user@jakarta.apache.org
Asunto: periodically servlet call
Hi all!
I would like to configure Tomcat to run a specific servlet periodically
(e.g. hourly).
it's possible? where do I this config?
thanks in advance!
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.7.9 - Release Date: 20/06/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.7.9 - Release Date: 20/06/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: periodically servlet call
Posted by Charl Gerber <ch...@yahoo.com>.
You can also start/stop a 'standard' java.util.Timer
in your ServletContextListener.
This will only work correctly on a single server, not
a cluster with multiple servers, depending on what the
task(s) do.
I've used this on single server installations without
any problems.
--- Luciano Costa <lu...@suryatec.com.br> wrote:
> Hi all!
>
> I would like to configure Tomcat to run a specific
> servlet periodically
> (e.g. hourly).
> it's possible? where do I this config?
>
> thanks in advance!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org