Hai,
I want to create a job in sql agent on de dbserver to run an iisreset on the webserver.
On the webserver I create a file with this code: @ echo off iisreset / restart :exit
When I create a job on the other server to this batfile on the webserver, the job runs but restart the iis on the db-server and not on the webserver.
How to change it that my job runs on the db-server and restart the iis on the webserver?