title: Spring Cron scheduler “disable pattern”
body: <p>My application loads some cron patterns from a properties file. I'm using the <code>@Scheduled</code> annotation like this:</p>
  <pre><code>@Scheduled(cron = &quot;${config.cronExpression:0 0 11,23 * * *}&quot;)
  </code></pre>
  <p>Now I want to disable some tasks and the easiest solution would be to enter a cron pattern which will never run.
  In order to do this, I thought about using a cron expression that only executes at a specific day in the past.
  But unfortunately the Spring cron expressions don't allow to add a year or a date in the past.</p>
  <p>Is there any pattern that will never run?</p>