tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Restart program
Date Mon, 16 Jun 2003 13:28:00 GMT

...and once you have the Listener, you'll probably want to review this URL:

http://java.sun.com/docs/books/tutorial/essential/threads/timer.html

John

On Mon, 16 Jun 2003 12:53:45 -0000, Reynir Hübner <reynir@hugsmidjan.is> 
wrote:

> 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
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
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