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