How to call any web page from SQL Enterprise manager as scheduled job

Here is code with VB Script;
Dim WshShell
Set WshShell =CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("C:\\PROGRA~1\\INTERN~1\\iexplore.exe http://localhost/xxxx/app/pages.aspx")
oExec.Terminate()
Set WsShell = Nothing

Pay attention to terminating iexplore.exe after Job finishes on codes.

Comments

Popular posts from this blog

Complex Query in QueryExpression in Microsoft CRM 2011

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Microsoft Power Apps Portal integration with Dynamics 365 CE On-Premise - Step By Step Guide