Postal v1.1: crash resume, A/B subjects, send-hours window, segments, suppression, unsub endpoint, watchdog, Proton SMTP
This commit is contained in:
3
watchdog.bat
Normal file
3
watchdog.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
REM Postal watchdog: if :8899 not answering, force-restart the app
|
||||
powershell -NoProfile -Command "$ok=$false; try { $r=Invoke-WebRequest -Uri 'http://127.0.0.1:8899/' -UseBasicParsing -TimeoutSec 8; $ok=($r.StatusCode -eq 200) } catch {}; if (-not $ok) { Get-Process python* -ErrorAction SilentlyContinue | Stop-Process -Force; schtasks /run /tn MailerApp }"
|
||||
Reference in New Issue
Block a user