lundi 1 février 2021

Invalid argument supplied for foreach() in cron

In laravel I have scheduled the cron by passing date as parameter.While passing date with minimal data cron executed successfully.but getting Invalid argument supplied for foreach() for the date with multiple rows. prospectsDump::cron is my cron .Im executing this cron as

project_folder>php artisan prospectsDump::cron

searched and find

  php -d register_argc_argv=1 artisan schedule:run > '/dev/null' 2>&1 &

but how to change register_arc in my cron



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire