How about using some kind of command line driven web URL grabber (e.g. webgrab for UNIX, or write your own java version) launched at the appropriate time (via cron or Task Scheduler) which asks for a URL which will cause the servlet to load and do it's thing. Of course, you need to be reasonably sure that someone won't unexpectedly request that URL at some other time.
Jeff ----- Original Message ----- From: "Kelly Prudente Pereira" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 5:20 PM Subject: RES: How can I automatically start a servlet in a specific time? > Yes Ken, I mean I don't want to load it until a specific time. > I need to load it to do a specific job at a certain time. > Do you know how can I do this? > > -----Mensagem original----- > De: Ken 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 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 com o tomcat e que a > determinadas horas arranca outros servlets. > > > > Carlos > > > > -----Original Message----- > > 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 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. > > > > Thanks in advanced, > > > > Kelly Prudente Pereira > > Analista de Sistemas - NDS > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > F�ton� Inform�tica e Servi�os > > Fone: (61) 328 5060 R.: 221 > > > > > > -- > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > For additional commands: <mailto:[EMAIL PROTECTED]> > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
