【发布时间】:2010-01-20 06:36:54
【问题描述】:
这是脚本。尝试自行执行... nada。尝试通过任务调度程序执行... nada。如果我通过 IE 访问下面的 URL,它就可以工作。有什么想法???
''//Force the script to finish on an error.
On Error Resume Next
''//Declare variables
Dim objRequest
Dim URL
Set objRequest = CreateObject("Microsoft.XMLHTTP")
''//Put together the URL link appending the Variables.
URL = "https://myurlhere.com"
''//Open the HTTP request and pass the URL to the objRequest object
objRequest.open "GET", URL , false
''//Send the HTML Request
objRequest.Send
''//Set the object to nothing
Set objRequest = Nothing
【问题讨论】:
标签: vbscript https scheduled-tasks