Class WebServerMonitor
When run on each server it updates the last activity date for the server and removes any servers that havent been seen in 24 hours.
Inherited Members
Namespace: DotNetNuke.Services.SystemHealth
Assembly: DotNetNuke.dll
Syntax
public class WebServerMonitor : SchedulerClient
Constructors
| Improve this Doc View SourceWebServerMonitor(ScheduleHistoryItem)
Initializes a new instance of the WebServerMonitor class. Constructs a WebServerMonitor SchedulerClient.
Declaration
public WebServerMonitor(ScheduleHistoryItem objScheduleHistoryItem)
Parameters
Type | Name | Description |
---|---|---|
ScheduleHistoryItem | objScheduleHistoryItem | A SchedulerHistiryItem. |
Remarks
This must be run on all servers.
Methods
| Improve this Doc View SourceDoWork()
Runs on the active server and updates the last activity date for the current server.
Declaration
public override void DoWork()