Programming Analytics

A feed of interesting tidbits from IT, software engineering, business intelligence, and videogaming.

I recently discovered that I had a need to force an application pool to reset as part of a command line.  We have a program that was caching results for a time period of an hour; but occasionally we get business users who request a recache immediately.  Eventually, we’ll rewrite the application to have recaching on triggers, but for the moment it’s possible to do this:

c:\windows\system32\inetsrv\appcmd.exe recycle apppool /APPPOOL.NAME:”DefaultAppPool”

Note that this command line appears to be case sensitive.