PowerShell

$urls = @(
    "https://blog.naver.com/investmos/224201002479",
    "https://blog.naver.com/terran40/224201374577", 
    "https://blog.naver.com/theblock101/224201373784",
    "https://blog.naver.com/liquidation108/224201378349",
    "https://blog.naver.com/thecryptokroea/224201379161"
)

for ($i = 1; $i -le 1000; $i++) {
    Write-Host "반복 $i / 1000 시작" -ForegroundColor Green
    
    foreach ($url in $urls) {
        try {
            Start-Process "msedge" $url -WindowStyle Minimized -ErrorAction Stop
            Write-Host "  $url 열기 성공" -ForegroundColor Cyan
        }
        catch {
            Write-Warning "  $url 열기 실패: $($_.Exception.Message)"
        }
        Start-Sleep -Seconds 5
    }
    
    # 5회마다 메모리 정리 (핵심!)
    if ($i % 5 -eq 0) {
        Write-Host "메모리 정리 중..." -ForegroundColor Red
        taskkill /IM msedge.exe /F 2>$null
        Start-Sleep -Seconds 3
    }
    
    Write-Host "반복 $i 완료`n" -ForegroundColor Yellow
}