This website may use cookies. More info. That's Fine x
Welcome Login

Using Windows Task Scheduler to call or open a webpage URL


You can use Task Scheduler to schedule calls to a webpage url every mins/hours/daily/month or other schedule time.



1. Create a Visual Basic script:

Call CallUrl()

Sub CallUrl()
On Error Resume Next

Dim objRequest

Set objRequest = CreateObject("Microsoft.XMLHTTP")
URL = "" "POST", URL , false
Set objRequest = Nothing
End Sub


2. Use Task Schedule to schedule call(s) to the vbs script, ie: run the vbs script at specified times.

Created on: Thursday, July 28, 2011 by Andrew Sin