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

Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. Dynamics CRM 365 Engine version 9 - CRM User creation error

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified at Configuration class initiation in CrmServiceHelper.cv