Cron Startup Scripts
└─ lt-init.cmd├─ lt-server.cmd│ └─ lt-rtsp-proxy-server.cmd│ └─ lt-rtsp-proxy-agent.cmd└─ lt-push.cmd└─ lt-rtsp-cam-daemon.cmd└─ lt-rtsp-cam-worker.cmd
lt-init.cmd
:: ===========================================================================
:: PLEASE DO NOT EDIT THIS FILE
:: ===========================================================================
@ECHO OFF
:: ===========================================================================
@CALL lt-server.cmd
@CALL lt-push.cmd
:: ===========================================================================
lt-server.cmd
:: ===========================================================================
:: PLEASE DO NOT EDIT THIS FILE
:: ===========================================================================
@ECHO OFF
:: ===========================================================================
FOR /F %%x IN ('linux_date +"%%s"') DO (SET bofTime=%%x
)
:: ===========================================================================@SET TMP-LOG=wmic.process.%bofTime%
@wmic process get ProcessId, CommandLine /format:csv | grep lt-rtsp-proxy-agent | grep -v grep > %TMP-LOG%@SETLOCAL ENABLEDELAYEDEXPANSION
:: ===========================================================================
@ECHO.FOR /F "tokens=1-3 delims=," %%a IN ( %TMP-LOG% ) DO (SET MACHINE=%%aSET CommandLine=%%bSET CommandPID=%%c@SET cmd=taskkill /pid !CommandPID!@CALL !cmd!
)@CALL lt-rtsp-proxy-server.cmd:: ===========================================================================
FOR /F %%x IN ('linux_date +"%%s"') DO (SET eofTime=%%x
)
:: ===========================================================================
@DEL %TMP-LOG%
@ECHO.
@ECHO.Time elapsed from %bofTime% to %eofTime%