Re: Running schduled jobs

2009-07-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ravi, On 7/10/2009 10:32 PM, Ravi Sharma wrote: > I need to run some threads at particular time during the day, does Tomcat > provide any such facility? If not then whats the other best way to go for > it. Other than webapp-oriented options, I'd like

Re: Running schduled jobs

2009-07-11 Thread Michael Echerer
Ravi Sharma wrote: > Hi All, > I need to run some threads at particular time during the day, does Tomcat > provide any such facility? If not then whats the other best way to go for > it. > Well for scheduled jobs "Quartz" is a common tool, if java.util.Timer is not sufficient. Certainly not Tomc

RE: Running schduled jobs

2009-07-10 Thread Caldarale, Charles R
> From: Ravi Sharma [mailto:ping2r...@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

Running schduled jobs

2009-07-10 Thread Ravi Sharma
Hi All, I need to run some threads at particular time during the day, does Tomcat provide any such facility? If not then whats the other best way to go for it. Basically i recalculate my site's visitor data every 30 minute and keep in cahce and then display to users, 30 minute delay for my data is