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