腳本7先執行 > 由於該任務鬧鐘還沒響 > 所以不會被腳本挑出來處理 > 腳本8接著才執行 > 因此用戶可以自己去關鬧鐘 > DONE // IF > 腳本8先執行 > 腳本8將提示鬧鈴且修改狀態為未關閉 > 腳本7落入 corner 將鬧鐘關閉並註記為關閉次數為1 > 出問題 $schedule->call(function () { }); } /** * Register the Closure based commands for the application. * * @return void */ protected function commands() { require base_path('routes/console.php'); } }