Laravel “No scheduled commands are ready to run.”

后端 未结 13 1259
囚心锁ツ
囚心锁ツ 2020-12-09 08:39

I\'ve set up the following Laravel commands:

protected function schedule(Schedule $schedule) {
        $schedule->command(\'command:daily-reset\')->dai         


        
13条回答
  •  没有蜡笔的小新
    2020-12-09 08:57

    I realized that the problem for me was the below chained method:

    ->withoutOverlapping() 
    

    Once I removed that method, my commands started running and being found by the daemon process.

    I think there might be a bug with the method, but my project for now can take a bit overlapping so it's cool.

提交回复
热议问题