configure

1、当监控到网页出错,重启发布程序服务

@echo off
curl.exe -s http://202.104.118.201:7000 > ./status.txt
set/p status=<./status.txt
if "%status%"=="invalid user" (echo "system are running") else (call ./bad.bat)

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-03-09
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
相关资源
相似解决方案