4 years ago

Laravel artisan Schedule Run getting Invalid foreach

Posted 4 years ago by leelanarasimha

I am running cron job that need to send update for me daily at midnight.

It is throwing exception in the log.

[2015-11-15 04:38:01] local.ERROR: exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /home/festsama/public_html/livesite/live/vendor/symfony/console/Input/ArgvInput.php:287

Please can anyone help me any one how to solve this.

My cron command in shared hosting

php /home/festsama/public_html/livesite/live/artisan schedule:run

Please sign in or create an account to participate in this conversation.