title: Spring and scheduled tasks on multiple instances
body: <p>We have a Spring Boot application, and have scheduled tasks.</p>
  
  <p>We want to deploy our application on multiple servers, so will be multiple instances of application.</p>
  
  <p>How to configure Spring to run scheduled tasks only on specified servers?</p>