Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

A application have multiple instances. There is a Job which will be running in a specific time. how can i make job run by only one instance?

$
0
0

We have an vertical scaling application (Say there are 5 instances) and application do have one schedular job which executes every hour to send an email to customer. due to multiple instances it will send a multiple emails.

Is there any framework in java/spring by which only any one instance at a time only one schedular will run?how it can be handled in a multi instances.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>