Laravel5.2 schedule:run don't work with cron job
<p>I'm having a problem with the php artisan schedule:run. I have the following cron job on GoDaddy :</p>

<pre><code>/usr/bin/php /home/usr/framework/artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
</code></pre>

<p>Every time, I got this error message:</p>

<pre><code>local.ERROR: exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /home/usr/framework/vendor/symfony/console/Input/ArgvInput.php:286
Stack trace:
#0 /home/usr/framework/vendor/symfony/console/Input/ArgvInput.php(286): Illuminate\Foundation\Bootstrap\HandleExceptions-&gt;handleError(2, 'Invalid argumen...', '/home/usr...', 286, Array)
#1 /home/usr/framework/vendor/symfony/console/Application.php(740): Symfony\Component\Console\Input\ArgvInput-&gt;hasParameterOption(Array, true)
#2 /home/usr/framework/vendor/symfony/console/Application.php(114): Symfony\Component\Console\Application-&gt;configureIO(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /home/usr/framework/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application-&gt;run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /home/usr/framework/artisan(35): Illuminate\Foundation\Console\Kernel-&gt;handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 {main}  
</code></pre>

<p>But if I go in the terminal and write this:</p>

<pre><code>php artisan schedule:run
</code></pre>

<p>All work fine. I really don't know where I should look to solve this. I need your help to solve this. Thank you.</p>