I want to run a schedule to call an asp page.
I add an asp page to project and add function to load page.
I use this tutorial for add scheduler in plesk, and add vb script to it.
When i go to www.mysite.com/schedule.aspx page , it run function. But when i run Scheduled Tasks in plesk, don't run function.
Call RunIt()
Sub RunIt()
Dim RequestObj
Dim URL
Set RequestObj = CreateObject("Microsoft.XMLHTTP")
'Request URL...
URL = "my site address/schedule.aspx"
'Open request and pass the URL
RequestObj.open "POST", URL , false
'Send Request
RequestObj.Send
'cleanup
Set RequestObj = Nothing
End Sub