title: Laravel Task Scheduling Error: Invalid CRON field value 10,40 at position
body: <p>I was trying to schedule a job to run on 10th and 40th minute of every hour. So wrote the expression as follows:</p>
  
  <pre><code>$schedule-&gt;job(new \App\Jobs\ExcuteJob())-&gt;cron('0 10,40 * * *');
  </code></pre>
  
  <p>And getting error:</p>
  
  <blockquote>
    <p>Invalid CRON field value 10,40 at position 1 {"exception":"[object]
    (InvalidArgumentException(code: 0): Invalid CRON field value 10,40 at
    position 1 at
    /var/www/html/school-management-system/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php:154)</p>
  </blockquote>