简体   繁体   中英

Calling IIS AppPool from SQL Server Job (2005)

I was wondering if it's possible to make a call to an IIS AppPool from a SQL Server Job (2005). I am basically looking to have a job monitor a table for an event and if a condition is fired I want to call IIS and shutdown a specific AppPool.

I presume I can do this thru the CLR and .NET from the SQL Server Job but wondered was there an easier way/better way to approach this?

Cheers, Conor

Can you use an SQLDependency from your Gloal.asax to have SQL Server notify your application when your event occurs.

You can then shutdown the AppPool from your application rather than from SQL Server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM