Task IIS - Change Application Pool State
The IIS - Change Application Pool State Task starts, stops or recycles an existing application pool in the IIS of the VisualCron Server computer, using an IIS Connection. Recycling an application pool restarts its worker process, which can clear memory leaks or hung processes without a full stop and start.

This Task uses an IIS Connection; see Connection - IIS. The Task always works on the IIS of the VisualCron Server computer: the Connection's Address is not used, and the changes are made as the account of the VisualCron Server service, which must be allowed to change IIS. The Connection's Username and Password are used only for network access.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
IIS - Change state of the app pool tab
- Connection: the IIS Connection. Required. Click the Settings icon to open Manage Connections
- Name (Application pool parameters group): the name of the application pool, matched exactly, including case. Required. Click the Refresh icon to list the application pools of the VisualCron Server computer
- Operation: "Nothing" (default), "Start", "Stop" or "Recycle". With "Nothing", the application pool is not changed
Output and errors
The output is the state that IIS reports after the operation, for example "Started" or "Stopped". With "Nothing", the output is "Starting", although the application pool is not changed. When the application pool is not found, the Task does nothing and writes no output, and the Task reports success.
The TimeOut tab does not stop this Task.