Run @Scheduled task only on one WebLogic cluster node?
问题 We are running a Spring 3.0.x web application (.war) with a nightly @Scheduled job in a clustered WebLogic 10.3.4 environment. However, as the application is deployed to each node (using the deployment wizard in the AdminServer's web console), the job is started on each node every night thus running multiple times concurrently. How can we prevent this from happening? I know that libraries like Quartz allow coordinating jobs inside clustered environment by means of a database lock table or I