Member Junction
    Preparing search index...

    Audit/observability layer over AgentRunWatchdog.SweepOrphanedRuns.

    The watchdog already runs an always-on in-process sweep (see AgentRunWatchdog — that timer is the reliability floor and runs regardless of whether scheduled jobs are enabled). This driver lets an operator ALSO drive the same idempotent sweep through MJ's scheduler, so each run is recorded as a MJ: Scheduled Job Run with the orphan count and can raise notifications. It is deliberately opt-in: shipping the job type doesn't activate anything until someone creates a MJ: Scheduled Job of this type with a cron expression. Running both is harmless — the sweep is a Status='Running' AND <stale> UPDATE, atomic and idempotent.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get IsHighFrequencyByDesign(): boolean

      Whether this driver is a BY-DESIGN high-frequency poller — a dispatcher that sweeps a work queue on a tight cron (e.g. every minute) and does bounded work per sweep. Overriding to true exempts jobs of this type from the engine's high-frequency cron warning banner. Leave false for ordinary jobs: the warning exists because a tight cron on a work job is usually a design smell.

      Returns boolean

    Methods