hh resume booster: free auto-bump for hh.ru (Playwright, Linux/Win/Mac)

This commit is contained in:
stackops
2026-08-24 20:34:25 +03:00
commit 5e2a1514c5
15 changed files with 468 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Windows: регистрирует задачу в Планировщике (каждые 2 часа).
# Запуск: правой кнопкой -> "Выполнить с помощью PowerShell", ИЛИ в PowerShell:
# powershell -ExecutionPolicy Bypass -File .\scheduler\install-windows.ps1
$Root = (Resolve-Path "$PSScriptRoot\..").Path
$Bat = Join-Path $Root "scheduler\run.bat"
$Action = New-ScheduledTaskAction -Execute $Bat
$Trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) `
-RepetitionInterval (New-TimeSpan -Hours 2) -RepetitionDuration ([TimeSpan]::MaxValue)
$Settings = New-ScheduledTaskSettingsSet -StartWhenAvailable -AllowStartIfOnBatteries `
-DontStopIfGoingOnBatteries
Register-ScheduledTask -TaskName "hhbump" -Action $Action -Trigger $Trigger `
-Settings $Settings -Description "hh resume booster" -Force
Write-Host "OK. Проверка: schtasks /Query /TN hhbump"
Write-Host "Разовый прогон: schtasks /Run /TN hhbump"
Write-Host "Удалить: schtasks /Delete /TN hhbump /F"
Write-Host "Логи: $Root\bump.log"