1. Task Scheduler in Windows
Below the schedule.vbs content:
Call LogEntry()
Sub LogEntry()
On Error Resume Next
Dim objRequest
Dim URL
Set objRequest = CreateObject("Microsoft.XMLHTTP")
URL = "http://www.your_website.com/filename.aspx"
objRequest.open "POST", URL , false
objRequest.Send
Set objRequest = Nothing
End Sub
Just replace the URL variable by your url you want to call and then setup the Scheduled Tasks to run the VBS script at the time specified.
- Write a VBS script, ex: schedule.vbs
- Schedule the VBS script
Below the schedule.vbs content:
Call LogEntry()
Sub LogEntry()
On Error Resume Next
Dim objRequest
Dim URL
Set objRequest = CreateObject("Microsoft.XMLHTTP")
URL = "http://www.your_website.com/filename.aspx"
objRequest.open "POST", URL , false
objRequest.Send
Set objRequest = Nothing
End Sub
Just replace the URL variable by your url you want to call and then setup the Scheduled Tasks to run the VBS script at the time specified.
No comments:
Post a Comment