title: Task Scheduler Laravel 5.4 cron not automatically running Mac OSx
body: <p>I'll cut straight to it. My Task Scheduler is not running automatically with a cron job and only works if I run: </p>
  
  <pre><code>php artisan schedule:run
  </code></pre>
  
  <p>All I am doing in the <code>handle()</code> function is: </p>
  
  <p><code>\Log::info('scheduler running @' . \Carbon\Carbon::now() );</code></p>
  
  <p>This runs perfect and logs when the command is run so I know there is nothing wrong with my <code>artisan</code> command but the the cron job itself, or something within my configuration of my localhost.</p>
  
  <p>I have tried two methods for the <code>crontab</code> entry.</p>
  
  <p><code>* * * * * php Sites/projectname/artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1</code></p>
  
  <pre><code>* * * * * cd Sites/projectname; php artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>Neither are working and I should get a log every minute as in <code>app/Kernel.php</code> in the <code>schedule()</code> function I have this code. <code>$schedule-&gt;command('send:email')-&gt;everyMinute();</code></p>
  
  <p>I have tried clearing the Laravel cache with <code>php artisan cache:clear</code> I have tried restarting my Laravel server and I have restarted my apache server with <code>sudo apachectl restart</code> </p>
  
  <p>Can any hero save the day?</p>
  
  <p>Thanks</p>