0
点赞
收藏
分享

微信扫一扫

IIS回收后首次访问慢问题

禁用时间间隔回收 设置为0

然后设置指定时间回收 0:00:00

然后设置脚本

@echo off

@echo 正在关掉所有的IE进程(需要设置默认浏览器是IE)
taskkill /im iexplore.exe /f /t

@echo 正在访问 http://localhost
start "C:\Program Files\Internet Explorer\iexplore.exe" http://localhost

@echo 正在通过ping来延迟80秒钟,以方便IE打开页面
ping 127.0.0.1 -n 80

@echo 正在关掉所有的IE进程(需要设置默认浏览器是IE)
taskkill /im iexplore.exe /f /t

@echo 正在访问 http://localhost
start "C:\Program Files\Internet Explorer\iexplore.exe" http://localhost

@echo 正在通过ping来延迟80秒钟,以方便IE打开页面
ping 127.0.0.1 -n 80

@echo 正在关掉所有的IE进程(需要设置默认浏览器是IE)
taskkill /im iexplore.exe /f /t

  设置计划任务 定期运行




举报

相关推荐

0 条评论