用计划任务定时执行ASP文件
方法1.vbscript
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
ie.navigate("http://slist.cnblogs.com/")
ie.visible=1
Set IE = Nothing
Set IE = CreateObject("InternetExplorer.Application")
ie.navigate("http://slist.cnblogs.com/")
ie.visible=1
Set IE = Nothing
方法2.Jscript
var html = "";
html += "<html><head><title>运行窗口</title></head><body>";
html += "<font face=verdana></font>";
html += "</body></html>";
ie = new ActiveXObject("InternetExplorer.Application");
ie.left = 50;
ie.top = 50;
ie.height = 510;
ie.width = 470;
ie.menubar = 0;
ie.toolbar = 0;
ie.navigate("http://slist.cnblogs.com/");
ie.visible=1;
html += "<html><head><title>运行窗口</title></head><body>";
html += "<font face=verdana></font>";
html += "</body></html>";
ie = new ActiveXObject("InternetExplorer.Application");
ie.left = 50;
ie.top = 50;
ie.height = 510;
ie.width = 470;
ie.menubar = 0;
ie.toolbar = 0;
ie.navigate("http://slist.cnblogs.com/");
ie.visible=1;
方法3.bat
start http://slist.cnblogs.com/
可以使用上面任一方法,然后新建一个计划任务选定时间,选择刚刚创建文件即可。
第3种方法最便利,但是需要WIN2000及以上环境才支持,即支持start命令的操作系统。
喜欢请赞赏一下啦^_^