HappyLife.In

HappyLife.In
happylife

Friday, October 9, 2009

scheduling or cron jobs

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

Select All,Select None,Select Invertion

Select All Select None Invert Selection

Add to basket JQUERY

Image Fly To Basket
Add to cart
Code take from jbasket fly to basket site,,,,