admin管理员组

文章数量:1123151

I have a problem triggering a scheduler every 30 minutes. It works fine on a single server. However, when we deploy the same application on two servers, the schedulers run simultaneously on both servers, resulting in duplicate logs. Instead of this, is there a way to implement load balancing, so that once the scheduler has run on one server, it does not run on the other server?

I didn't get a any ideas to resolve

本文标签: javaDistributing shedulerStack Overflow