📅  最后修改于: 2022-03-11 14:53:46.076000             🧑  作者: Mango
//App\Console\Kernel
protected function schedule(Schedule $schedule)
{
$schedule->call(function () {
DB::table('recent_users')->delete();
})->daily();
}