title: Spring Boot @Scheduled cron
body: <p>Is there a way to call a getter (or even a variable) from a propertyClass in Spring's <code>@Scheduled</code> <code>cron</code> configuration? The following doesn't compile:</p>
  
  <p><code>@Scheduled(cron = propertyClass.getCronProperty())</code> or <code>@Scheduled(cron = variable)</code></p>
  
  <p>I would like to avoid grabbing the property directly:</p>
  
  <pre><code>@Scheduled(cron = "${cron.scheduling}")
  </code></pre>