title: Spring Boot: Configure Job Scheduler Pool via Annotation
body: <p>I have a Spring Boot Application with a bunch of background jobs. I have added the following Annotation on my main application class:</p>
  
  <pre><code>@SpringBootApplication
  @EnableScheduling
  public class MyApplication {
  </code></pre>
  
  <p>In the job class, I have following configuration:</p>
  
  <pre><code>@Component
  public class MyTask {
   @Scheduled(fixedDelay = 14400000)
   public void doSomething()
  </code></pre>
  
  <p>Right now, Spring Boot is executing the jobs in a sequential manner, i.e., one job at a time. This seems most likely due to a single thread based pool. 
  Is there any Annotation/property that can be used to increase the thread pool size?
  Till now, I have found a solution <a href="https://stackoverflow.com/questions/29796651/what-is-the-default-scheduler-pool-size-in-spring-boot">here</a>, but it requires writing a new Configuration class. 
  Ideally, it should be a property in application.properties file. </p>