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:petbe736@student.liu.se]
> Sent: 16. júní 2003 12:57
> To: tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|