Laravel Scheduling call controller

后端 未结 5 1677
北荒
北荒 2021-01-04 05:23

I work with Laravel Task Scheduling, but I have a problem when I call some method from my controller.

protected function schedule(Schedule $schedule)
{
    $         


        
5条回答
  •  甜味超标
    2021-01-04 05:35

    OK. I solved this problem. The problem was with Docker Cron container. Cron container was not linked with MySQL container. Thanks for all answers.

提交回复
热议问题