title: Cron job for a php artisan command
body: <p>When I usually run my commands I do it from <code>/var/www/project/html/current/</code> and it looks like this <code>php artisan import:myData</code>. This works great.</p>
  
  <p>But I can't get it to work while running it as a cron job, I have tried the following cron jobs.</p>
  
  <pre><code>*/3 * * * 1-5 cd /var/www/project/html/current/ php artisan import:myData &gt;/dev/null 2&gt;&amp;1
  
  */3 * * * 1-5 /var/www/project/html/current/ php artisan import:myData &gt;/dev/null 2&gt;&amp;1
  
  */3 * * * 1-5 /usr/local/bin/php /var/www/project/html/current/ php artisan import:myData &gt;/dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>Does anybody have a suggestion?</p>
  
  <p>Thanks</p>