...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 <[EMAIL PROTECTED]> 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:[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]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
