call(function () { \App\Models\CompanyProject::where('order_project', 2) ->where('date_started', '<=', now()) ->update(['order_project' => 3]); })->everyMinute(); // Ou ajuste para a frequĂȘncia desejada } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }