Hi friends ,
You want to do some scheduling job or some automatic updates in some situation do the scheduling job/ cron job ,
In windows its scheduling, in linux its cron job ,
Here is the script , very simple code.
I dont want to waste your life time...So go head...
'VBScript File
Sub MyASPJob()
Dim oXMLHttp
Dim sURL
on error resume next
Set oXMLHttp = CreateObject("MSXML2.XMLHTTP.3.0")
'sURL = "http://192.168.1.89:99/managingautoamtion/readPnnNews.aspx"
sURL = "http://192.168.1.89:99/scheduling/dbbackup.php"
oXMLHttp.open "GET", sURL, false
oXMLHttp.send()
if oXMLHttp.status = 200 Then
' Retrieve enter HTML response
'MsgBox oXMLHttp.ResponseText
else
' Failed
'MsgBox "Failed"
end if
Set oXMLHttp = nothing
End Sub
Call MyASPJob()
Thanks By
Bharanikumar.B.S
No comments:
Post a Comment