@echo off
title phpstudy 监控
mode con cols=26 lines=3&color 4e
:phpstudy
sc query Apache2a |Find "RUNNING"||sc Start Apache2a
sc query MySQLa |Find "RUNNING"||sc Start MySQLa
for /l %%i in (30,-1, 0) do (
cls
echo.
echo 倒计时%%i 秒 重新检测
ping 127.1 -n 2 >nul
)
goto :phpstudy
Last modification:April 11, 2022
© Allow specification reprint