title: How to set time for cron job every day at 9 AM to 11 AM and 5 PM to 6PM
body: <p>I want to create a <strong>Cron Job</strong> that executes twice a day for 6 days. In the morning 9 to 11 and evening from 5 to 6 on Monday to Saturday</p>
  
  <p>I have tried:</p>
  
  <p><code>@Scheduled(cron = "0/4 * 9-11 * * ?")</code></p>
  
  <p>But then it executes every 4 seconds between 9-11 <strong>BUT</strong> also after 11. </p>
  
  <p><em>What am I doing wrong?</em></p>