title: Laravel scheduler - Run specific days of month at specific time
body: <p>I want to run a task at specific days of month in specific time.
  Now i use this code to run the task on 1st and 15th day of the month.</p>
  
  <pre><code>$schedule-&gt;command('payments:create')-&gt;daily()-&gt;when(function ()
      {
          $days = [1,15];
          $today = Carbon::today();
  
          return in_array($today-&gt;day, $days);
      });
  </code></pre>
  
  <p>Is there any way to set this task to run on these days at specific time?</p>