where('updated_at', '<=', now()->subDay())->update(['status' => 'closed']); } }