title: How to enable @Scheduled jobs by profile in spring?
body: <p>How could I enabled scheduled jobs only in specific profiles?</p>
  
  <p>pseudocode:</p>
  
  <pre><code>@Scheduled(cron = "${job.cron}")
  @Profile("prod")
  public void runJob() {
  
  }
  </code></pre>
  
  <p>Is that possible?</p>