title: Laravel Scheduler: Run every x hours except for given times
body: <p>I know we can specify certain tasks for every <code>X</code> individual times like following will run after every two hours:</p>
  
  <pre><code>$schedule-&gt;command('catalog:update')-&gt;cron('0 */2 * * *');
  </code></pre>
  
  <p>However, I need to run every two hour but still be able to exclude certain times. For example, Scheduler should run my task every two hours but not between these times: 12 am to 5 am</p>
  
  <p>I was thinking of putting current time check login in task itself which might work. Is there any other better or laravel-specific way of doing it ?</p>
  
  <p>Thanks for the help/suggestions</p>