tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Running schduled jobs
Date Sat, 11 Jul 2009 03:00:19 GMT
> From: Ravi Sharma [mailto:ping2ravi@gmail.com]
> Subject: Running schduled jobs
> 
> I need to run some threads at particular time during the day,
> does Tomcat provide any such facility?

Tomcat doesn't, but Java does: java.util.Timer.  Just make sure to cancel() the timer when
your webapp is being stopped.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message