title: Quartz: Cron expression that will never execute
body: <p>I know there is a duplicate <a href="https://stackoverflow.com/questions/8324306/cron-job-that-will-never-execute">here</a>, which probably is exactly my case, though it would deserve some better explanation, which I will try to provide here.</p>
  
  <p>I work with a Java web application using a Spring application context. In this context, I defined scheduled jobs using Quartz. These jobs are triggered by a cron defined in a .properties file.</p>
  
  <p>The Spring context is embedded within the war, while the .properties file is on the application server (Tomcat in this particular case).</p>
  
  <p>This is just fine and allows to define different crons according to the environment (development, integration, production, ...).</p>
  
  <p>Now, when running this application locally on my own computer, I do not wish these jobs to be executed. Is there a way to write a cron expression which will never trigger?</p>