Steven Elliott wrote:
>
> I wholeheartedly disagree with the FAQ @ Distributopia. I
> think servlets are the best way to schedule tasks
>
I'd say that's going a bit far. There are obvious drawbacks.
> and they can be packaged with your application on whatever
> platform that you deploy on.
>
On 11/04/02 7:25, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> From: Kelly Prudente Pereira [mailto:[EMAIL PROTECTED]]
> Sent: quarta-feira, 10 de Abril de 2002 23:04
> To: '[EMAIL PROTECTED]'
> Subject: How can I automatically start a servlet in a specific time?
>
>
> Can anyone answer my
> Can anyone answer my question?
> How can I automatically start a servlet in a specific time? For
> example: at
> midnight.
> I don't want to start it when I start my webserver.
Create an intialisation servlet who's init() method is called when the web
application comes into scope. In the init()
Anderson [mailto:[EMAIL PROTECTED]]
> Enviada em: quarta-feira, 10 de abril de 2002 19:19
> Para: Tomcat Users List
> Assunto: Re: How can I automatically start a servlet in a specific time?
>
> You mean you don't want to load it until a specific time, or you don't
> want i
TECTED]]
Enviada em: quarta-feira, 10 de abril de 2002 19:04
Para: Tomcat Users List
Assunto: RE: How can I automatically start a servlet in a specific time?
Kelly,
Boa pergunta... não sei nenhuma maneira directa, mas podes sempre criar um
servlet tipo "scheduler" que arranca automá
EMAIL PROTECTED]]
> Enviada em: quarta-feira, 10 de abril de 2002 19:19
> Para: Tomcat Users List
> Assunto: Re: How can I automatically start a servlet in a specific time?
>
> You mean you don't want to load it until a specific time, or you don't
> want it to respon
You mean you don't want to load it until a specific time, or you don't
want it to respond to requests until a certain time?
Ken
Carlos Martins wrote:
> Kelly,
>
> Boa pergunta... não sei nenhuma maneira directa, mas podes sempre criar um servlet
>tipo "scheduler" que arranca automáticamente c
Kelly,
Boa pergunta... não sei nenhuma maneira directa, mas podes sempre criar um servlet
tipo "scheduler" que arranca automáticamente com o tomcat e que a determinadas horas
arranca outros servlets.
Carlos
-Original Message-
From: Kelly Prudente Pereira [mailto:[EMAIL PROTECTED]]
Sen