🌈 搜索
📅  最后修改于: 2022-03-11 14:53:57.680000             🧑  作者: Mango
$schedule->call(function () { DB::table('users')->whereYear('last_login_at','<',date('Y')-1)->delete(); })->daily();