Hi, Write a ServletContextListener, that invokes a thread that runs the program on the specified interval. That way you can interrupt the thread when the context dies, etc.
Hope it helps -reynir > -----Original Message----- > From: Petter Bengtsson [mailto:[EMAIL PROTECTED] > Sent: 16. j�n� 2003 12:57 > To: [EMAIL PROTECTED] > Subject: Restart program > > > Hello experts, > > I'm working with an application in Tomcat and SOAP and I have > trouble solving one part. The thing that I need to to is to > be able to run a program on certain time intervall for > example once every 15 seconds. How do I solve this the best way? > > Best regards > > /Petter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
