add Element for schedule for periodicRestart for applicationPools [IIS Settings Schema]
Note
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Periodic Restart Schedules <add>.
Specifies a time to initiate scheduled periodic restarts of an application pool.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
value |
Required timeSpan attribute. Specifies a unique local time, on a 24-hour clock, to begin a scheduled periodic restart of an application pool. |
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.applicationHost |
Specifies the root element for configuring Web process settings. |
applicationPools |
Contains default configuration settings for all application pools on the server and defines configuration settings for specific application pools. |
add |
Configures an application pool in the server configuration. |
recycling |
Configures recycling settings for an application pool. |
periodicRestart |
Specifies conditions under which an application pool is recycled. |
schedule |
Specifies the time interval for when the worker processes in an application pool are restarted. |
Remarks
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Periodic Restart Schedules <add>.
Default Configuration
None.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |