用计划任务定时执行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 = "";
var html = ""; html += "<html><head><title>运行窗口</title></head><body>";
    html += "<html><head><title>运行窗口</title></head><body>"; html += "<font face=verdana></font>";
        html += "<font face=verdana></font>"; html += "</body></html>";
        html += "</body></html>";
 ie = new ActiveXObject("InternetExplorer.Application");
ie = new ActiveXObject("InternetExplorer.Application"); ie.left       = 50;
ie.left       = 50; ie.top        = 50;
ie.top        = 50; ie.height     = 510;
ie.height     = 510; ie.width      = 470;
ie.width      = 470; ie.menubar    = 0;
ie.menubar    = 0; ie.toolbar    = 0;
ie.toolbar    = 0; ie.navigate("http://slist.cnblogs.com/");
ie.navigate("http://slist.cnblogs.com/"); ie.visible=1;
ie.visible=1;
方法3.bat
  start http://slist.cnblogs.com/
可以使用上面任一方法,然后新建一个计划任务选定时间,选择刚刚创建文件即可。
第3种方法最便利,但是需要WIN2000及以上环境才支持,即支持start命令的操作系统。 
喜欢请赞赏一下啦^_^赞赏后请加wx:weyocul,相关文章提到的的安装包稍后给到哦!没有收到赞赏直接加我的,直接无视哈!
 
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号