Files
docs/scripts/batch/blue-iris/server-watchdog.md
Nicole Rappe 554c04aa32
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
Documentation Restructure
2026-02-27 04:02:06 -07:00

31 lines
564 B
Markdown

---
tags:
- Blue Iris
- Batch
- Monitoring
- Scripting
- Windows
---
``` batch
@echo off
REM Change to the Blue Iris 5 directory
CD "C:\Program Files\Blue Iris 5"
:LOOP
REM Check if the BlueIrisAdmin.exe process is running
tasklist /FI "IMAGENAME eq BlueIris.exe" | find /I "BlueIris.exe" >nul
REM If the process is not found, start the process
if errorlevel 1 (
REM Start BlueIrisAdmin.exe
BlueIrisAdmin.exe
)
REM Wait for 10 seconds before checking again
timeout /t 10 /nobreak >nul
REM Go back to the beginning of the loop
GOTO :LOOP
```