-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rusty,

Rusty Wright wrote:
> In our setup we have multiple Tomcats behind a load balancer.  I have a
> background task that will run once a day, via Quartz.  All Tomcats will
> be using the same war so they will all run the job, but I need it so
> only one of them runs the job.
> 
> I'm looking for ideas for how to implement this.

Is it acceptable to modify the application that will always run the job?
If so, you could just set a "quartz.enable" flag for the one application
you expect to run the job.

Or, you could do what I do and just use cron outside of Tomcat.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklvVioACgkQ9CaO5/Lv0PBnhgCdFmLTNui6jMnwJep0X93iOCpb
zL8An2U6Y7b4Eny4FeUXmMfJZWH42cyH
=VtjI
-----END PGP SIGNATURE-----

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

Reply via email to