码迷,mamicode.com
首页 > 其他好文 > 详细

IIS回收后首次访问慢问题

时间:2016-09-22 01:04:04      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:

禁用时间间隔回收 设置为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 

  设置计划任务 定期运行

IIS回收后首次访问慢问题

标签:

原文地址:http://www.cnblogs.com/ahuo/p/5894691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!