Configure Laravel cron job on cpanel / server

Configure Laravel cron job on cpanel / server



Sorry folks, Youtube does not allow me to write command in description so I have given the code in comment check first comment.

14 thoughts on “Configure Laravel cron job on cpanel / server

  1. php -d register_argc_argv=On /home3/partarea/public_html/laravel/artisan schedule:run >/dev/null 2>&1 WORK – CPANEL START SCHEDULE

  2. I'm getting this error in Laravel.log

    local.ERROR: Invalid argument supplied for foreach() {"exception":"[object] (ErrorException(code: 0): Invalid argument

    Could you please help me?

  3. Cron command: php -d register_argc_argv=On /home/username/file_location/artisan schedule:run > /dev/null 2>&1

Leave a Reply

Your email address will not be published. Required fields are marked *