用计划任务定时执行ASP文件
2014-05-22 15:38
816 查看
方法1.vbscript
Dim IE
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;
方法3.bat
start http://slist.cnblogs.com/
可以使用上面任一方法,然后新建一个计划任务选定时间,选择刚刚创建文件即可。
第3种方法最便利,但是需要WIN2000及以上环境才支持,即支持start命令的操作系统。
Dim IE
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;
方法3.bat
start http://slist.cnblogs.com/
可以使用上面任一方法,然后新建一个计划任务选定时间,选择刚刚创建文件即可。
第3种方法最便利,但是需要WIN2000及以上环境才支持,即支持start命令的操作系统。
相关文章推荐
- 用计划任务定时执行ASP文件
- 用计划任务定时执行ASP文件
- Windows Server 2008中使用计划任务定时执行BAT批处理文件图文教程
- Windows Server 2012计划任务定时执行bat文件
- 设置windows服务器计划任务定时执行PHP文件详细步骤
- win环境下用计划任务定时执行一个php程序文件
- Magento计划任务定时 执行cron.sh脚本文件 / 执行.php文件
- Windows Server 2008通过计划任务定时执行bat文件
- thinkphp 定时执行php文件--windows系统任务计划
- Windows Server 2008通过计划任务定时执行bat文件
- 在WINDOWS任务计划程序下执行PHP文件 PHP定时功能的实现
- 【ASP.NET 进阶】定时执行任务实现 (定时读取和修改txt文件数字内容,无刷新显示结果)
- Windows Server 2008通过计划任务定时执行bat文件
- 在WINDOWS任务计划程序下执行PHP文件 PHP定时功能的实现
- Linux下使用crontab来执行定时任务计划----执行每晚12点多执行移动log日志文件操作
- 在WINDOWS任务计划程序下执行PHP文件 PHP定时功能的实现
- windows下的计划任务程序执行PHP文件 PHP定时功能的实现
- win2008通过计划任务定时执行bat文件
- windows计划任务后台定时执行java的jar文件
- Windows Server 2008中使用计划任务定时执行BAT批处理文件图文教程