title: How to combine @Scheduled with Profiles
body: <p>I've got a class that Spring finds via component scan and that has a method annotated with <code>@Scheduled</code>:</p>
  
  <pre><code>@Component
  public class Foo {
      ...
      @Scheduled(fixedDelay = 60000)
      public void update() {
          ...
  </code></pre>
  
  <p>The value <code>60000</code> is ok for production, but in my tests I want it to be <code>1000</code>.<br>
  How can I achieve that? E.g., can I combine <code>@Scheduled</code> with profiles somehow?</p>