title: Quartz CRON triggers job only once
body: <p>i have a spring batch job which needs to be scheduled at specific hour of the day. I have setup a Quartz CRON scheduler to accomplish this. However i see that the job is getting triggered only once. </p>
  
  <p>What could be wrong ?</p>
  
  <p>following is the XML file snippet -</p>
  
  <pre><code>&lt;batch:job id="getFleetUpdatesJob" job-repository="jobRepository"&gt;
         &lt;batch:step id="step0"&gt;
                  &lt;batch:tasklet ref="fleetUpdatesID" transaction-manager="jobRepository-transactionManager" /&gt;
         &lt;/batch:step&gt;        
         &lt;!-- &lt;batch:step id="step1" next="step2"&gt; 
                  &lt;batch:tasklet ref="world" transaction-manager="jobRepository-transactionManager" /&gt;
         &lt;/batch:step&gt; --&gt;       
      &lt;/batch:job&gt;    
  
      &lt;!--  Quartz related beans START  --&gt;
  
      &lt;bean name="updateDataFeedJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean"&gt;
        &lt;property name="jobClass" value="&lt;package&gt;.schedule.UpdateDataFeedJob" /&gt;  
      &lt;/bean&gt; 
  
      &lt;bean id="cronTriggerId" class="org.springframework.scheduling.quartz.CronTriggerBean"&gt;
          &lt;property name="jobDetail" ref="updateDataFeedJobDetail" /&gt;
          &lt;!-- run every morning at 3AM --&gt;
          &lt;!--  &lt;property name="cronExpression" value="0 0 3 * * ?" /&gt; --&gt;
  
          &lt;!-- run the job at 8pm everyday --&gt;
          &lt;property name="cronExpression" value="0 0 20 * * ?" /&gt;
      &lt;/bean&gt;
  
      &lt;bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"&gt;
          &lt;property name="triggers"&gt;
              &lt;list&gt;
                  &lt;ref bean="cronTriggerId" /&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
      &lt;!--  Quartz related beans END  --&gt;
  </code></pre>