• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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.

Inheritance
System.Object
SchedulerClient
WebServerMonitor
Inherited Members
SchedulerClient.ProcessStarted
SchedulerClient.ProcessProgressing
SchedulerClient.ProcessCompleted
SchedulerClient.ProcessErrored
SchedulerClient.ThreadID
SchedulerClient.ScheduleHistoryItem
SchedulerClient.SchedulerEventGUID
SchedulerClient.aProcessMethod
SchedulerClient.Status
SchedulerClient.Started()
SchedulerClient.Progressing()
SchedulerClient.Completed()
SchedulerClient.Errored(Exception)
Namespace: DotNetNuke.Services.SystemHealth
Assembly: DotNetNuke.dll
Syntax
public class WebServerMonitor : SchedulerClient

Constructors

| Improve this Doc View Source

WebServerMonitor(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 Source

DoWork()

Runs on the active server and updates the last activity date for the current server.

Declaration
public override void DoWork()
Overrides
SchedulerClient.DoWork()

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS