Thanks Stephan, I will try it. Maybe it will help me.
I'll let know later, if it won't. -------- Original-Nachricht -------- Datum: Fri, 27 Oct 2006 11:47:06 +0200 Von: "Stephan Schöffel" <[EMAIL PROTECTED]> An: Tomcat Users List <users@tomcat.apache.org> Betreff: Re: Howto continue TimerTask after Tomcat Server was restarted > maybe you could put your timertask in an servlets init() method and the > put <load-on-startup>1</load-on-startup> in the web.xml of that servlet > which makes the the servle load on startup (who would hav guessed) and > therefore call init() > > > Dort Wach wrote: > > >Hello everybody, > > > >I have a TimerTask. I start it manually (on a jsp page) and it execute a > method every one hour. > > > >If someone restart Tomcat server, the TimerTask won't be executed any > more. I have to start it manually again. Go to the page an click start button. > > > >Is there a possibility, to start my TimerTask automatically, when the > Tomcat server was restarted. > > > >Maybe there is some configuration in web.xml or something like that? > > > >Like in Windows XP, if I copy some script in startup... > > > >Thanks in advance. > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]