Sasha,

We wanted to reuse our business java code for our batch runs so we implemented a cron job with issued a lynx command such as lynx http://webxx/servlet/batch?batch=2&date=05/13/04. We run our production environment in linux so lynx was available by default.

Tim

Mats Henrikson wrote:

Sasha,

If you are used to unix cron and the format of crontabs, then you might
also want to have a look at JCronTab (http://jcrontab.sourceforge.net/),
which is supposed to work pretty well with Tomcat (have a look at the
first FAQ entry...).

Mats

On Wed, 2004-05-12 at 16:33, Sasha Borodin wrote:


I'm wondering what people are doing to schedule/execute tasks in Tomcat...

Is there any built-in timing services in Tomcat?  Are people using external
operating system tools like cron to invoke a class, or hit a servlet?

Is anyone using a good 3rd party scheduling framework?

Or is this kind of stuff home-grown right now (java.util.Timer, etc.)?  If
you've got your own timer, where do you initialize it (like in a servlet's
init() or a context listener)?

Thank you,

-Sasha



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



Reply via email to