tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: Restart program
Date Mon, 16 Jun 2003 12:53:45 GMT
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


Mime
View raw message