title: Spring Boot : Getting @Scheduled cron value from database
body: <p>I'm using <code>Spring Boot</code> and have issues scheduling a <code>cron task</code> using values existing in database. </p>
  
  <p>For the time being, I'm reading values from properties file like below : </p>
  
  <pre><code>@Scheduled(cron= "${time.export.cron}")
  public void performJob() throws Exception {
     // do something
  }
  </code></pre>
  
  <p>This works nicely, but instead of getting values from properties file, I want to get them from database table. Is it possible and how ?</p>