Quartz.NET
Home
Features
Blog
Discussions
NuGet
GitHub
Home
Features
Blog
Discussions
NuGet
GitHub
  • Getting Started

    • Overview
    • Quartz 4 Quick Start
    • Tutorial
      • Using Quartz
      • Jobs And Triggers
      • More About Jobs & JobDetails
      • Job Data
      • More About Triggers
      • Querying Jobs and Triggers
      • Simple Triggers
      • Cron Triggers
      • RecurrenceTrigger
      • Time and TimeProvider
      • Trigger and Job Listeners
      • Scheduler Listeners
      • Job Execution Middleware
      • Job Stores
      • Configuration, Resource Usage and Building a Scheduler
      • Building a Scheduler Without a Host
      • Clustering
      • Execution Groups
      • Node Affinity (Preferred Node)
      • Testing
      • Compile-Time Checks
      • Declaring Jobs with Attributes
      • Delegate Jobs
    • Configuration Reference
    • JSON Configuration
    • Cron Expression Reference
    • Multi-Tenancy
    • Comparison
    • Frequently Asked Questions
    • Best Practices
    • Before You Go Live
    • Operating a Cluster
    • Log Events
    • Tenancy Patterns
    • Database Schema
    • Database Schema Changes
    • Migration Guide
    • Troubleshooting
    • API Documentation
  • How To's
    • One-Off Job
    • Rescheduling Jobs
    • Backfill
    • Retrying Failed Jobs
    • Pausing with a Reason
    • Job Continuations
    • Overlap Policy
    • Progress and Execution Logs
    • Job Outcomes
    • Multiple Triggers
    • Job Template
    • Running Quartz under Aspire
    • Quartz.NET with Wolverine
    • Coming from Hangfire
    • Coming from TickerQ
    • Embedding Quartz in a Library
    • Running under an External Leader Election
    • Publishing Trimmed and Native AOT
    • Extending Quartz: what is open, what is closed, and how to ask
    • A Job Store of Your Own
    • A Driver Delegate for a New Database
    • Persisting a Custom Trigger Type
    • A Lock Handler of Your Own
  • Packages

    • Quartz Core Additions

      • Jobs
      • Serialization (System.Text.Json)
      • JSON Serialization
      • Plugins
    • Integrations

      • Aspire Integration
      • Aspire Hosting
      • ASP.NET Core Integration
      • HTTP API
      • HTTP Client
      • Dashboard
      • Dashboard Agent
      • Dashboard Host
      • MCP endpoint
      • Entity Framework Core
      • Hosted Services Integration
      • Microsoft DI Integration
      • Multiple Schedulers with Microsoft DI
      • Observability
      • Redis Lock Handler
      • TimeZoneConverter Integration
      • Weasel Schema Management
    • 3rd Party Plugins for Quartz
  • Quartz 3.x

    • Getting Started

      • Quartz 3 Quick Start
      • Tutorial
        • Using Quartz
        • Library Overview
        • Jobs And Triggers
        • More About Jobs
        • More About Triggers
        • Execution Groups
        • Node Affinity (Preferred Node)
        • Simple Triggers
        • Cron Triggers
        • RecurrenceTrigger
        • Trigger and Job Listeners
        • Scheduler Listeners
        • Job Stores
        • Tuning the Scheduler
        • Configuration, Resource Usage and SchedulerFactory
        • Advanced (Enterprise) Features
      • Configuration Reference
      • JSON Configuration
      • Multi-Tenancy
      • Frequently Asked Questions
      • Best Practices
      • Tenancy Patterns
      • Troubleshooting
      • API Documentation
      • Database Schema
      • Database Schema Changes
      • Migration Guide
      • Miscellaneous Features
    • How To's

      • One-Off Job
      • Multiple Triggers
      • Job Template
      • Using the CronTrigger
      • Rescheduling Jobs
    • Packages

      • Quartz Core Additions

        • Dashboard
        • Jobs
        • Serialization (System.Text.Json)
        • Serialization (Newtonsoft Json.NET)
        • Plugins
      • Integrations

        • ASP.NET Core Integration
        • Hosted Services Integration
        • Microsoft DI Integration
        • Multiple Schedulers with Microsoft DI
        • OpenTelemetry Integration
        • OpenTracing Integration
        • Redis Lock Handler
        • TimeZoneConverter Integration
      • 3rd Party Plugins for Quartz
  • Old Releases

    • Quartz 2.x
      • Quartz 2 Quick Start
      • Tutorial
        • Lesson 1: Using Quartz
        • Lesson 2: Jobs And Triggers
        • Lesson 3: More About Jobs & JobDetails
        • Lesson 4: More About Triggers
        • Lesson 5: SimpleTrigger
        • Lesson 6: CronTrigger
        • Lesson 7: TriggerListeners and JobListeners
        • Lesson 8: SchedulerListeners
        • Lesson 9: JobStores
        • Lesson 10: Configuration, Resource Usage and SchedulerFactory
        • Lesson 11: Advanced (Enterprise) Features
        • Lesson 12: Miscellaneous Features of Quartz
        • CronTrigger Tutorial
      • Configuration Reference
      • Migration Guide
      • API Documentation
    • Quartz 1.x
      • Tutorial
        • Lesson 1: Using Quartz
        • Lesson 2: Jobs And Triggers
        • Lesson 3: More About Jobs & JobDetails
        • Lesson 4: More About Triggers
        • Lesson 5: SimpleTrigger
        • Lesson 6: CronTrigger
        • Lesson 7: TriggerListeners and JobListeners
        • Lesson 8: SchedulerListeners
        • Lesson 9: JobStores
        • Lesson 10: Configuration, Resource Usage and SchedulerFactory
        • Lesson 11: Advanced (Enterprise) Features
        • Lesson 12: Miscellaneous Features of Quartz
      • API Documentation
  • License

Quartz.Dashboard is a Blazor dashboard for Quartz.NET. It runs inside your ASP.NET Core application and renders the schedulers registered in that application.

No web application to host it in?

From 4.8 the dashboard also ships as a program of its own, configured from settings alone: the quartz-dashboard tool and the ghcr.io/quartznet/quartz-dashboard image. See Dashboard Host, and Aspire Hosting to run it from an Aspire AppHost.

Features

Sixteen pages, listed under The pages.

  • Reads the schedulers in its own container, through the container's IQuartzApiClient: usually the schedulers this process runs, with nothing to configure. A scheduler in another process is registered with AddQuartzHttpClient; see Fronting a scheduler in another process over HTTP.
  • Or shows every scheduler in a database, with nothing asked of the processes running them. AttachStore discovers them and shows each as a window on the shared store; use it for a cluster behind a load balancer. See Store-attached targets.
  • Every scheduler the container knows, including a registration nothing has built yet (shown as such). The header's picker switches between them and every page follows.
  • Cluster-aware. With a persistent job store, the executing view, fire counts and node listing cover the whole cluster, and the pages say which scope they show.
  • A control panel, from 4.3: edit a trigger in place, backfill it, filter the listings and act on a selection. From 4.9, create and edit calendars of every built-in type.
  • Execution history, installed automatically and bounded by age and count. It is in-memory and per-process unless you give it a store; for a scheduler in another process it is read from that process.
  • A live event stream from Quartz itself: in process for a local scheduler, over the HTTP API's event route for a remote one. The pages do not connect back to the dashboard's hub; the hub is still served and fed for your own clients.
  • Three composable authorization levels: who reaches the dashboard, which schedulers they see, and whether anyone may change anything. See Production hardening.
  • A time zone picker and a theme toggle in the header. Absolute times render in the picked zone; ages such as a last check-in or last fire are also shown relative. Below 1400 px wide, from 4.9, both are behind the settings button at the header's right, so the header keeps to one row.
  • Triage, from 4.9: a trigger's page says why it isn't firing, the Overview lists what needs attention, the Cluster page shows each node's Quartz version, and the header finds a job or trigger by name.
  • Inside an application, from 4.10: a way back to it at the top of the sidebar, and its name at the end of every tab title. See Inside an application.
  • Which process served the page, from 4.10: Served by and the machine name at the foot of the sidebar, as OpenTelemetry's host.name and the usual log enrichers record it (the pod's name in Kubernetes), so a screenshot says which instance it came from.
  • A collapsible sidebar. Its toggle folds it to an icon rail. The choice is kept per browser, as the theme and time zone are: in local storage and in a cookie (qz_sidebar_collapsed, qz_theme, qz_tz), so a page arrives in them.

Installation

The package brings Quartz.AspNetCore with it:

dotnet add package Quartz.Dashboard

Basic setup

Configure Quartz, enable the HTTP API, and add the dashboard services.

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);

builder.AddQuartz();

builder.Services.AddQuartzHttpApi(options =>
{
    options.ApiPath = "/quartz-api";
});

builder.Services.AddQuartzDashboard();
builder.AddQuartzHostedService(options => options.WaitForJobsToComplete = true);

Map endpoints:

WebApplication app = builder.Build();

app.UseAuthentication();
app.UseAuthorization();
app.UseAntiforgery();

// the dashboard's stylesheet and scripts are static web assets, so something
// has to serve them
app.MapStaticAssets();

app.MapQuartzHttpApi().RequireAuthorization();
app.MapQuartzDashboard().RequireAuthorization();

The dashboard UI is at /quartz by default.

  • The HTTP API is optional: the pages read local schedulers directly.
  • The order of the four Add… calls does not matter; nothing is built until the service provider is.

Three pipeline lines are required by the host:

  • app.MapStaticAssets() (or the older app.UseStaticFiles()) serves the dashboard's stylesheet and scripts, static web assets under _content/Quartz.Dashboard/. Without it they answer 404 and the pages render unstyled and inert. A project with no .razor files also needs <RequiresAspNetWebAssets>true</RequiresAspNetWebAssets>, or /_framework/blazor.web.js is missing and nothing responds to a click.
  • app.UseAuthentication() needs a registered scheme, such as AddAuthentication(…).AddCookie() or an OpenID Connect handler. Quartz authorizes but does not authenticate. With no scheme registered, UseAuthentication() fails at startup, resolving IAuthenticationSchemeProvider.
  • .RequireAuthorization() satisfies the startup check below.

A mapping that says nothing about authorization does not start

The dashboard has no authentication of its own. Its pages start, stand by, shut down, pause, resume, delete and trigger, and ReadOnly is false by default. AddJob, as on the HTTP API, takes a job's type as a string from the request, resolved later with Type.GetType against the host's probing path. With Quartz.Jobs on that path the string can reach NativeJob, which starts a process named in job data: an unauthenticated dashboard is remote code execution. Its execution history also shows every job exception's message.

So app.MapQuartzDashboard() with no authorization statement fails at startup, before the server binds its listener. The message names the three statements:

  • app.MapQuartzDashboard().RequireAuthorization() authorizes its pages and live-events hub;
  • QuartzDashboardOptions.AuthorizationPolicy authorizes those plus the Blazor circuit and static assets; see Policy and role-based authorization;
  • app.MapQuartzDashboard().AllowAnonymous() serves it to anyone, deliberately.

A non-null AuthorizationOptions.FallbackPolicy also satisfies the check. An application that calls AddQuartzDashboard() and never maps it is not checked.

What MapQuartzDashboard returns

An IEndpointConventionBuilder covering the pages and the live-events hub, so RequireAuthorization() on it covers the whole dashboard. The RazorComponentsEndpointConventionBuilder of the pages alone would miss the hub, and in the integrated overload would also reach the host application's own pages.

Options

AddQuartzDashboard(options => …) takes ten settings. None points the dashboard at a scheduler: it renders the schedulers registered in its own application, through the container's IQuartzApiClient.

OptionDefaultWhat it does
DashboardPath/quartzBase path of the UI; see Hosting under a custom path
ApplicationPathnoneWhere the sidebar's Back to … link goes, from 4.10; see Inside an application
ApplicationNamenoneThe application's name, in that link and at the end of every tab title, from 4.10
AuthorizationPolicynonePolicy for pages, hub, circuit and assets; see Policy and role-based authorization
SchedulerAuthorizationPolicynonePolicy each scheduler is held to; see One scheduler at a time
ReadOnlyfalseHides every mutating action (pause, resume, trigger-now, reschedule, unschedule, delete, …)
IsJobTypeAllowednonePredicate over a job type name; refused raises UnauthorizedAccessException; see Narrowing which job types may be named
HistoryRetention24 hoursAny other value replaces the history's Retention; see Execution history and misfires
HistoryMaxEntriesPerScheduler2000Any other value replaces the history's MaxEntriesPerScheduler
ClusterDetectionInterval1 minuteHow often targets fronting one cluster are merged into one row; null never merges. See A cluster behind several targets

Both history bounds and the detection interval must be positive or startup fails; a zero window would forget every execution immediately and look like a missing history plugin.

Pointing a dashboard at another process

Register that scheduler with AddQuartzHttpClient; the dashboard renders it beside the local ones. See Fronting a scheduler in another process over HTTP. AddQuartzDashboard registers its client with TryAdd, so you can register your own IQuartzApiClient to make the pages read something else.

Writing your own IQuartzApiClient

An implementation must follow the interface's two promises to render like the shipped one:

  • A missing thing is a KeyNotFoundException. Every member taking a schedulerName throws it for an unknown scheduler; GetScheduler, GetJobDetail, GetTrigger and GetCalendar also throw it when the item is gone. The dashboard's error boundary shows the not-found page. Returning null! faults the page instead.
  • An unreportable value is a value, not a refusal. GetExecutionLimits returns ExecutionLimitsDto.CannotReport when the source cannot say; the overview draws that differently from "no limits".

Members added during 4.x arrive as default interface members, so your implementation keeps compiling. The default body reports the datum as unavailable, like CannotReport; override it when your source can answer. GetJobRunStatus, GetJobRunStatuses and QueryExecutionStatistics (4.4), and QueryJobRunStatuses, QueryTriggerRunStatuses and QueryUpcomingFires (4.9), throw NotSupportedException by default, and the pages leave out what they would show. GetUpcomingFireTimes (4.7) computes from GetTrigger and GetCalendar by default; QueryUpcomingFires does not, because that would be a read per trigger. GetFireInstanceLog (4.9) throws NotSupportedException by default, and Currently Executing's Show log says so in its words.

The pages

All sixteen are under {DashboardPath} (/quartz by default) and render the scheduler selected in the header's picker, so switching schedulers keeps you on the same page.

PageRoute
Overview/quartz
Jobs, and one job/quartz/jobs, /quartz/jobs/{Group}/{Name}
Triggers, and one trigger/quartz/triggers, /quartz/triggers/{Group}/{Name}
Calendars, and one calendar/quartz/calendars, /quartz/calendars/{CalendarName}
Currently Executing/quartz/executing
Schedulers/quartz/schedulers
Cluster/quartz/cluster
Execution History, and one execution/quartz/history, /quartz/history/{EntryId}
Timeline/quartz/timeline
Agenda/quartz/agenda
Live Logs/quartz/live
Action Log/quartz/actions

Detail pages are covered with their listing below. What the numbers mean for a cluster in trouble is in Operating a Cluster.

From 4.10 each page names the browser's tab and history entry, page first: Jobs · Quartz.NET, then the application's name when one is set. A detail page names its thing first, as it shows the key: reports.nightly · Job, · Trigger, · Calendar, and an execution by its job, reports.nightly · Execution. The dashboard's document has no <title> of its own; a frame with no page, such as a scheduler the visitor may not see, reads Quartz.NET.

A page reads again on a timer or when you ask it to:

PageReads again
Currently Executing, Execution History, and the Overview's executing countEvery second
Currently Executing's Show log dialogEvery two seconds while it is open
Cluster, and the Overview's other tiles, execution groups, and Needs attention's failing jobs and overdue countEvery five seconds
The Overview's runs of the last 24 hoursEvery 30 seconds
TimelineOn its Jobs and Triggers refresh intervals
Jobs, Triggers, Calendars, Schedulers, Agenda, and one job, trigger, calendar or, from 4.9, executionWhen you press Refresh, beside Last updated
  • A timer stops while the browser tab is hidden. The page reads once when the tab is shown again.
  • Refresh also reads the scheduler status in the header. So does the Overview, when the status it read has changed.
  • Leaving a page cancels the read it has in flight. Only reads are cancelled: an action that was sent, such as a pause or a delete, finishes, and its toast and Action Log entry still report it.
  • Changing the time zone redraws the page and reads nothing. On the Timeline, bar tooltips take the new zone at its next refresh.

On the Overview, Jobs, Triggers, Execution History, Calendars, Schedulers, and one job, trigger, calendar or execution, a refresh that fails keeps what the page last read and marks it Stale beside Last updated, with the reason on hover. The next refresh that answers clears the mark. Only a page with nothing read yet shows the error and Retry. A job, trigger or calendar that is not there shows the error without Retry: asking again cannot bring it back.

Overview

/quartz opens on the scheduler's controls, outside read-only mode: start, stand-by, pause all, resume all and shutdown. The scheduler's status is in the header, beside the picker. Under the controls are the totals (jobs, triggers, firings in flight, triggers in error, nodes) and four breakdowns:

  • Trigger-state histogram: counts of Normal, Paused, Blocked, Error and Complete triggers. Each links to the Triggers page filtered to that state, as /quartz/triggers?state=Paused does for any state. The counts are counting queries, so cost does not grow with trigger count.
  • Paused groups: how many trigger groups and job groups are paused, in one tile. It counts empty paused groups too, which no listing shows and which are a common silent cause of Nothing is firing.
  • Misfires within the window the history keeps misfires for, MisfireRetention or else Retention, which the label names (Misfires (last 24 h) by default). A source with no misfire feed shows a dash, not a zero. Links to /quartz/history#misfires; see Execution history and misfires.
  • Execution groups: one row per execution group with its limit, the limit's scope, firings in flight and remaining headroom — and, on a node that routes, whether the group is served here and how many of its triggers are overdue; see Execution groups.

The Nodes tile shows the node count and, when any exist, the number not Alive, turning red then. From 4.9 it adds mixed versions, in amber, while the live nodes run different Quartz versions. It links to the Cluster page. A non-clustered scheduler shows 1.

The page ends with recent Action Log entries.

Needs attention

From 4.9, the Overview answers "is anything wrong right now?" in one panel. Each part is one read, never one per row.

PartShowsRead
Overdue triggersHow many Normal (waiting) triggers are more than 5 minutes past their next fire time, linking to the Triggers page narrowed to themQueryTriggers with State = Normal, NextFireTimeBefore and Take = 0, every five seconds
Jobs needing attentionFrom 4.10, the 10 gravest jobs that need attention: each job's status chip, and why, with a chip per reasonGetJobHealth, every five seconds
Failing jobsWhere the source cannot say which jobs need attention (a host older than 4.10, a client of your own): the 10 jobs failing the most times in a row, with failing ×N linking to their failed runs and the last failure's time and messageQueryJobRunStatuses with Failing = true, every five seconds
Runs, last 24 hoursThe run statistics chart for the day: runs, success rate and failuresQueryExecutionStatistics, every 30 seconds, History's cadence
  • "Overdue" is a waiting trigger more than 5 minutes past its fire time, the cutoff the execution-groups panel and Why isn't it firing? use too.
  • The jobs needing attention are ranked Unhealthy first, then by how many times in a row they failed, then by the latest failure. The sentence above the table gives the total.
  • The failing jobs are ranked from the first 250 by name when more than 250 are failing; the sentence above the table says so.
  • A part whose source cannot answer is left out, as the Jobs page leaves out its columns: a history that keeps no per-job status, a source that counts no runs, a host older than 4.3 for the overdue count.
  • It works the same in process, over HTTP, through an agent and on a window.

Finding a job or trigger by name

From 4.9, the header's search box finds a job or trigger on any page. Type at least two characters.

  • It searches the selected scheduler's job names and trigger names (NameContains), up to 8 of each.
  • Each result links to its page. See all opens the Jobs or Triggers listing filtered by the same text.
  • It reads once typing pauses for 300 ms. A keystroke cancels the read still in flight, so a slow target answers only the last text.
  • From the keyboard: ↓ and ↑ move through the results, Enter opens the highlighted one, and Escape closes the list and keeps the text. Leaving the box, or following a result, closes it too. A lookup still pending when focus leaves finishes, and ↓ shows what it found. The box is an ARIA combobox, so a screen reader announces the highlighted result.
  • On a screen 768 px wide or less, the box takes a row of its own under the scheduler picker.
  • Over a slow HTTP target the read is bounded by the target's client timeout.

Jobs, Triggers and Calendars

/quartz/jobs, /quartz/triggers and /quartz/calendars are searchable, paged listings; each row links to a detail page.

ListingDetail page showsActions outside read-only mode
Jobs: job details and keys; from 4.4, each job's last run, last success and failing ×Nthe JobDataMap, the triggers pointing at the job, and its run statustrigger-now with overrides, pause, resume, delete; from 4.9, Add trigger
Triggers: from 4.8, the schedule in words, and next and previous fire; from 4.9, each trigger's last run and failing ×N; state, execution groupfrom 4.7, its upcoming fires; from 4.8, the schedule in words beside its expression; the trigger's JobDataMap, priority, calendar, misfire instruction and threshold, whether a simple trigger is measured from completion, preferred node, its retry policy, retries made for the current occurrence, its overlap policypause, resume, unschedule, reset error state, a schedule editor (for every kind from 4.9, cron before) and, from 4.3, Edit details and Backfill…; on the listing, bulk actions
Calendars: names; from 4.9, each one's typefrom 4.9, the calendar's own rules, its time zone, the calendars under it and how many triggers use itfrom 4.9, create or edit a calendar of any of the six built-in types; delete
  • ?state= opens the trigger listing filtered, as the overview's histogram links do. Every other filter is a query parameter too; see Filtering the listings.
  • From 4.9, a listing never cuts a key short. One too long for its column wraps, first after the group's dot, then inside the name, and Copy stays beside it.
  • From 4.3, Pause, Pause group and Pause all ask for an optional reason, recorded with the signed-in user's name. A paused trigger shows Paused: reason (by who, when) on its page and its listing rows, and a paused job group shows its record on the Jobs page. See Pausing with a Reason.
  • From 4.8, Pause group and Resume group pause and resume the group itself, in one call. A job or trigger added to a paused group later comes in paused, the Jobs page's group header reads Paused, and Resume group lifts a group pause however it was made. Trigger group still fires each job: a scheduler has no group-level trigger.
  • Reset error state clears an ERROR trigger once its cause is fixed.
  • The schedule editor previews the next five fires of the edited schedule before it is saved. See Rescheduling a trigger.

The schedule and fire times

From 4.8, the Triggers listing shows each trigger's schedule in words, in the trigger's own time zone: Every weekday at 07:00 (America/Chicago). The text is DescribeSchedule's.

ColumnShows
ScheduleThe schedule in words. Hover for the cron expression or recurrence rule. A shape it cannot phrase shows the expression itself
Next fireThe time in the dashboard's time zone, and how far off it is: in 3m. A time already passed, as a paused trigger's is, says due 2h ago
Previous fireThe time in the dashboard's time zone, and how long ago: 2h ago
  • The scheduler describes the page. It reads the page's triggers in one batch. A scheduler over HTTP or through an agent describes its own and sends the text on the listing, in the same request.
  • A scheduler, HTTP API or agent older than 4.8 sends no description, and the column shows —.
  • The trigger's page and the job's table of triggers show the same text. The trigger's page keeps the expression beside it.

A narrower listing gives way in steps, by its own width rather than the window's. A 1440 px window with the sidebar open gives the listing about 1120 px. The trigger's page shows everything a step hides.

Listing narrower thanWithout Last runWith it
any widthDetails and Previous fire are hidden: the whole row opens the trigger, and the last run dates its latest firing
1440 pxThe actions take two rowsExecution group is hidden; the trigger's key keeps 18rem
1300 pxExecution group and Details are hidden
1200 pxThe schedule moves under the trigger's key
1080 pxPrevious fire is hiddenLast run moves under the state, captioned
920 pxThe schedule moves under the trigger's key; below 748 px the table scrolls inside its cardBelow 748 px the table scrolls inside its card
860 pxThe actions take two rows

Last run adds 132 px, which the trigger's key, the one column that cannot wrap, would otherwise give. So with it Details and Previous fire go at every width, and the width they leave keeps the actions on one row and the key at 18rem or more. Last run never goes: it says whether the schedule still works.

Upcoming fires

From 4.7, every trigger's page lists its next ten fire times, whatever the trigger type.

  • The scheduler computes them, in the trigger's own time zone, less what its calendar excludes, up to its end time. A scheduler over HTTP or through an agent computes its own, in one request: the fire-times route.
  • The times show in the dashboard's time zone, each with how long until it (in 12h).
  • A trigger that does not fire again says so: This trigger does not fire again.
  • A paused trigger says so above the list: these are its schedule's times, and it fires none of them until it is resumed. A trigger in a paused group is paused.
  • A simple trigger measured from completion lists its next fire time, then Then every 30 s after each run completes.
  • A source that cannot answer says so in the panel, and the rest of the page still shows. An agent whose IsOperationAllowed refuses GetTriggerFireTimes is one; an agent older than 4.7 is computed from the trigger and its calendar instead.
  • The cron editor's preview is separate: it shows the expression being edited, before it is saved, and only once it differs from the saved one. Read-only mode has no editor and no preview.

Why isn't it firing?

From 4.9, every trigger's page works through the checks of Nothing is firing and gives a verdict for each: ✓ fine, ℹ worth knowing, ⚠ may hold it back, ✗ holds it back, ? could not be told.

  • Nothing found: the section is one line, Nothing found that stops this trigger firing., with the checks behind a toggle beside it.
  • Something found: the section opens with the ⚠ and ✗ findings, worst first, and a count. The checks that passed are behind the toggle.
CheckHolds it back whenLink or action
SchedulerIt is in standby, not started or shut down. A window's status comes from the cluster's check-insOverview
TriggerIt is paused (by whom, when, why), blocked, complete, or in error. In error, the cause: a deleted parent, or the last run's failureThe failed run; Reset error state
Trigger group, Job groupThe group is paused, with its record: who paused it, when and whyThe listing narrowed to the group
Its job's firingsThe trigger is BLOCKED: the firing that holds its job, its node and since when. Or it is held without being BLOCKED: its own firing runs, so it reads EXECUTING, which outranks BLOCKED, its job does not allow concurrent execution, and its next fire time has passedInterrupt; Currently Executing
Next fireThere is none (its end time passed), or a waiting trigger is more than 5 minutes past it
Execution groupIts limit is 0 or reached, or this node does not serve the groupCurrently Executing; Cluster
MisfiresThe history records misfires of this trigger: how many, the latest and whyIts misfires on History
RetryShown when a retry of a failed occurrence is pending, and when it is due
  • The page makes six to eleven reads on load and on Refresh, never on a timer and never per row: the scheduler, the paused groups, a paused group's record, the job's firings (with DashboardFireInstanceQuery.Job), the job itself when a running firing may hold the trigger, the execution limits, the group's firings when a limit governs it, the trigger's misfires, and its last run when it is in error.
  • "This node does not serve it", never "no node does." Nodes publish nothing about what they serve, so the check speaks for the node that answered. A window and a cluster of targets say nothing about routing.
  • A read that fails leaves its check ?, and the other checks stand. So does a page that cannot answer: with more than 250 paused groups, a group not among the first 250 is ?, and with more than a page of firings in flight a group's count is a floor.
  • A group this node does not serve: on a clustered store only a node that serves it fires it, and the check claims no such node exists. On a store that is not clustered nothing runs it, and the check is ✗.
  • Interrupt and Reset error state keep their own operations: hidden in read-only mode and below the role each needs. An accepted Interrupt shows a toast, the checks are read again, and the button reads Interrupt requested while the firing is still listed: a job stops when it next checks its cancellation token.
  • It works the same in process, over HTTP, through an agent and on a window.

Editing a trigger

From 4.3, Edit details on a trigger's page edits it in place through IScheduler.UpdateTriggerDetails. Fire times and state are kept; the schedule editor is the one that reschedules.

FieldTakes
Description, execution grouptext; blank clears it
Prioritya whole number
Calendara calendar name, suggested from the scheduler's; blank clears it
Misfire instructionthe trigger family's instructions by name; a bare code for a trigger in none of the five
Retry policythe stored form, fixed;3;00:05:00, exp;5;00:00:10;2 or list;00:00:05;00:01:00; none never retries; blank inherits the job type's or the scheduler's
Preferred nodeany node, the first node to fire it, or a named node
Overlap policyone of the five; disabled, with the reason, for a trigger that does not derive from TriggerBase
Misfire thresholda TimeSpan, 00:15:00; blank is the store's. Disabled, with the reason, for a trigger that does not derive from TriggerBase. 4.6
Interval measured from completiona checkbox, on a simple trigger only: see Measured from completion. 4.7
JobDataMapadd, edit and remove entries; an entry nobody edited keeps its value and type
  • Only what changed is sent. A field left alone is not written back.
  • A refusal is shown beside the fields, and the editor stays open: a calendar the scheduler does not hold, an unreadable priority or retry policy.
  • Every save is in the Action Log as UpdateTriggerDetails, with the user and what changed (priority 5 → 7; calendar holidays → (none)). Map values are not logged.
  • An IQuartzApiClient of your own that does not implement UpdateTriggerDetails answers its default, NotSupportedException. The button is then disabled with that reason.

Rescheduling a trigger

From 4.9, Edit schedule on a trigger's page reschedules a trigger of any of the five built-in kinds through RescheduleJob. Before 4.9, only a cron trigger could be.

KindFields
Cronthe expression; the time zone
Simplethe interval and its unit; how many times it repeats after the first fire, or forever; whether the interval is measured from completion
Calendar intervalthe interval and its unit, seconds to years; the time zone; whether to keep the hour of day across daylight saving, and to skip a day that hour does not exist on
Daily time intervalthe window, from and until, as times; the days; the interval in seconds, minutes or hours; how many times it repeats each day, blank until the window ends; the time zone
Recurrencethe RFC 5545 RRULE; the time zone
  • Only the schedule changes. The trigger is cloned, so its calendar, node pin, priority, data map and type are kept (#3294). A trigger of another type, one that derives from none of the five, is refused, and the editor says so.
  • The schedule is previewed beside its fields: in words, with its next five fires, each in the trigger's own time zone with its offset, less what its calendar excludes. The preview says whether it is the saved schedule or an edit not saved yet.
  • A wrong field is said beside it: an expression or rule that does not parse, a window that ends before it starts, no day ticked, an unknown time zone, a schedule that does not fire again.
  • Save asks first. The dialog says the trigger is replaced: its previous fire time, its count of fires and a pending retry are reset, and the replacement takes the state its group gives it. See Rescheduling Jobs.
  • A pause is kept. A trigger paused on its own would come back unpaused, so the dashboard pauses it again, with its reason and who asked. The pause is dated when it is set again: no operation carries a pause's time over. A trigger its group keeps paused is left alone.
  • The first fire is the edited schedule's first after now, less what the calendar excludes, so a start long gone is not stored as a misfire. A simple trigger starts at that first fire, and its repeat count counts from there.
  • Every save is in the Action Log as RescheduleTrigger, with the schedule before and after in words.
  • It works the same in process, over HTTP and through an agent, at the Administer role.

A trigger declared at start-up

From 4.9, every editor of a trigger the scheduler's start-up declares says: Declared at start-up: this change lasts until the next start. The schedule editor, its Reschedule dialog and Edit details show it.

  • Why. With OverwriteExistingData on, the default, every start stores each AddTrigger and ScheduleJob registration, and each scheduling file, over the stored trigger. See What a start keeps. To keep a change, make it in the declaration.
  • Which triggers. One a declaration names and stores over the stored copy. On the in-memory store, which keeps nothing across starts, any declared trigger. With IgnoreDuplicates on a persistent store, the next start keeps the stored trigger, so the edit lasts and nothing is said.
  • Only when the scheduler can tell. In process, over HTTP and through an agent, from 4.9: IQuartzApiClient.IsTriggerDeclaredAtStartup. A window, a host or agent older than 4.9, and an IQuartzApiClient of your own that does not implement it, say nothing.
  • A trigger a scheduling file adds on a rescan, after the first start, is not counted.

Adding a trigger

From 4.9, Add trigger on a job's page stores a new trigger of that job, of any of the five kinds, through ScheduleJob with no job. Duplicate… on a trigger's page opens the same form, filled from that trigger.

FieldTakes
Name, groupthe trigger's key; the group is the job's until another is typed
Descriptiontext
Kind and schedulethe fields of Rescheduling a trigger, for the kind chosen
Startsa date and time in the trigger's time zone, or the dashboard's for a simple trigger; blank is now
Calendara calendar name, suggested from the scheduler's
Prioritya whole number, 5 by default
Misfire instructionthe kind's family of instructions, by name
JobDataMapthe trigger's entries
  • The first fire is the schedule's first after now, and the trigger starts at it. A start behind now keeps its phase, so every other day at 06:00 from the 1st stays on the same days.
  • A duplicate is the trigger's copy under a new key, -copy by default: its schedule and everything else it carries, its execution group and node pin among them, while its kind is kept. It starts now, and the QRTZ_ entries Quartz writes into a map, a trace parent among them, are left out. The page then moves to the copy.
  • A refusal is shown in the form, which stays open: a key already in use on the name field, a calendar the scheduler does not hold above the fields.
  • Every add is in the Action Log as ScheduleTrigger, with its schedule in words and its job.
  • No job is created. A job built from a type name runs whatever that type does, NativeJob included, and an agent refuses one by default. Store the job in code; the dashboard adds triggers to it.
  • It works the same in process, over HTTP and through an agent, at the Administer role.

Backfilling a trigger

From 4.3, Backfill… on a trigger's page runs its schedule over a past range: one firing per slot. See Backfill.

FieldTakes
From, Toa date and time in the dashboard's time zone; From is included, To is not. The last day up to now by default
Spacinghh:mm:ss between the firings' starts; zero starts them together
Max slotsthe most the range may hold; 1000 by default
  • The dialog counts the slots as the range changes, the trigger's calendar applied.
  • A slot runs under a trigger of its own, backfill:{group}.{name}@{slot}. From 4.9 the trigger's View execution history lists its slots with it, and a slot's Execution page links back to the trigger as Backfill of.
  • A refusal is shown in the dialog, which stays open: a range ending after now, more slots than allowed.
  • Every backfill is in the Action Log as BackfillTrigger, with the user, the range and the counts (2026-09-01T00:00:00Z to 2026-09-02T00:00:00Z: 24 slots, 20 scheduled, 4 already scheduled).
  • Read-only mode hides the button. A window onto an attached store may backfill: the slots are rows every node sharing the store fires.
  • An IQuartzApiClient of your own that does not implement Backfill answers its default, NotSupportedException. The button is then disabled with that reason.

Calendars

From 4.9, a calendar's page shows its own rules, read through its type, and the Calendars page creates any of the six built-in types. Before 4.9 the page listed the calendar's properties as text, and only a cron calendar could be created.

TypeCalendar Detail showsThe editor takes
HolidayCalendarits dates, each with its weekdaya date picker and Add, Remove beside each date, and several dates pasted one a line as yyyy-MM-dd
AnnualCalendara month-by-day grid of the days excluded every yearticks in the same grid; February counts 29. The grid is one tab stop: the arrow keys move between days, Home and End to the month's ends, and Space ticks
WeeklyCalendarthe days of the week, tickedticks; a new one starts with Saturday and Sunday, as the type does
MonthlyCalendarthe days of the month, tickedticks, 1 to 31
DailyCalendarthe range, and whether it is inverted: the range is then the part of the day includedstart and end as two time fields, to the second, and the inversion
CronCalendarthe expression, and the next five spans it excludesthe expression, previewed as it is typed
  • Every calendar says its time zone, the zone its days and times are read in. The cron spans show in it, with their offset. A new calendar starts in UTC, and the zone is a field of the editor.
  • The calendars under it (CalendarBase) are drawn below it, level by level. Each is a copy stored inside the calendar, not a link: replacing a calendar stored under another name does not change it. The editor keeps them as they are.
  • The Used by N triggers link opens the Triggers listing filtered by the calendar. The number is one count, with no trigger read, on load and on Refresh. A calendar no trigger uses says Not used by any trigger, with no link.
  • The listing reads each calendar once for its type, on load and on Refresh, eight at a time and no more than 200; a scheduler lists names alone. A calendar that cannot be read, such as a custom type the dashboard has no serializer for, shows unreadable with the reason on hover.
  • A holiday, annual, weekly or monthly calendar with nothing ticked is warned about before it is saved: it would exclude nothing.
  • Saving over a stored calendar asks first, and says how many triggers use it. Replace and update triggers recomputes each one's next fire time against the new calendar (AddCalendarRequest.UpdateTriggers). Replace only leaves each the next fire time it has, even one the new calendar excludes.
  • A calendar type of your own shows its type name and description, and is edited in code. The page does not read its properties. A plain BaseCalendar is the same.
  • Every save is in the Action Log as CreateCalendar or ReplaceCalendar, with the type and, for a replace, updateTriggers=true or false.
  • Creating and replacing are AddCalendar, an Administer operation; reading is View. Read-only mode hides the editor.

Filtering the listings

From 4.3, the Triggers page filters by everything TriggerQuery can: group and name (contains), job (group and name, exactly), calendar, state, and next fire before. Apply reads them; paging is unchanged.

  • From 4.9, every listing's filters are one card. The quick filters are on top: on Triggers All states, Error, Executing and Awaiting, applied on a press. The fields used most are under them, and the rest are behind More filters, which opens by itself when one of them is applied, as a calendar's Used by link does:

    • Triggers: job, calendar and next fire before.
    • Execution History: exception type, outcome and origin.
    • Timeline: rows per page, Jobs refresh and Triggers refresh.
  • Each filter is a query parameter, so a filtered listing is a link: /quartz/triggers?jobGroup=reports&jobName=export&state=Paused.

    ParameterFilter
    group, namecontains
    jobGroup, jobNameone job; both or neither
    calendarthe calendar's name
    statea TriggerState name
    beforean ISO 8601 instant with its offset; the field shows it in the header's time zone
  • The Jobs page filters by group and by name (contains), as ?group= and ?name=.

  • A target whose HTTP API is older than 4.2 ignores before. The dashboard spots rows the filter excludes, drops the filter and disables its field with the reason.

  • Filters on JobDataMap values are not offered: the map is a serialized blob, not a column a store can query.

Acting on a selection

From 4.3, each trigger row has a checkbox and each group's header one that selects its rows on the page. A selection offers Pause selected, Resume selected and Unschedule selected.

ActionMade throughOver HTTP
Pause recording nothing: no reason typed, nobody signed inIScheduler.PauseTriggers(keys): one callPOST …/triggers/keys/pause
Pause recording a reason or the signed-in userPauseTriggersWith(keys, details): one call, from 4.4POST …/triggers/keys/pause with reason and requestedBy
ResumeResumeTriggers(keys)POST …/triggers/keys/resume
Unschedule, after a confirmationUnscheduleJobs(keys)POST …/triggers/unschedule
  • The pause prompt asks once for the whole selection.
  • Rows the action did not reach stay listed with the reason until dismissed: gone, already paused, not paused, or what the scheduler said. A refused selection's toast says why, from 4.10: Paused 0 of 2 selected triggers. Refused: change freeze, the reason an auditor gave or the role it needs.
  • Each key gets its own Action Log entry, under the single-row action's name, marked as one of the selection.
  • Applying a filter or acting clears the selection. Read-only mode shows no checkboxes.

Continuations

A continuation is a trigger waiting for another trigger's firing; it deliberately does not fire on its own.

  • The trigger listing has an Awaiting quick filter beside Error and Executing.
  • Waiting has its own colour in the state column, and each waiting row names the trigger it waits for, with the releasing outcomes on hover.
  • The detail page shows Continues after, linking to the parent, and When.
  • A removed parent is named without a link and marked no longer scheduled. The trigger is then in ERROR; reset error state runs it, giving it the fire time a release would have.
  • A released or reset trigger waits for nothing and shows neither field.

Currently Executing

/quartz/executing has one row per firing: job, trigger, node, execution group, fire time, run time and progress. It is the fire-instance listing, so with a persistent job store it covers the whole cluster; Node is the machine that owns the firing.

  • Progress is a bar, the percentage and the job's message, from ReportProgress. A firing that has not reported shows a dash. It is read from the store, so a store-attached window shows it too, and it can trail the job by up to a second.

  • Interrupt requested under the run time marks a firing another node was asked to stop. It stays until the firing ends; the node running it acts after its next check-in. From 4.7, read from FireInstance.InterruptRequestedUtc.

  • Interrupting interrupts that one firing, not every firing of the job. This matters for a job without [DisallowConcurrentExecution], which can have several in flight.

  • Each interrupt is recorded in the Action Log with the fire instance and node, whether or not the firing was still running.

  • Past runs opens the trigger's execution history. A firing gets its own execution page once it finishes; while it runs, Show log follows its log.

  • A row that never goes away: a firing whose node died stays until another node's check-in sweep takes it over. See Fired triggers: backlog or leak.

Following a running firing's log

From 4.9, Show log on a row opens a dialog that reads the lines the firing logged since its last read, every two seconds while it is open. The lines are the ones UseExecutionLogCapture() keeps, read in the process running the firing: this one, the host behind an HTTP target, or the agent.

The dialog saysWhenThen
Following · 12 lines · updated 14:02:31The firing runs and its scheduler capturesIt reads again in two seconds. Behind, it reads up to four more pages at once
Nothing logged yetThe firing runs and has logged nothingIt reads again in two seconds. The log's box appears with the first line
Paused · 4 new lines below and Jump to latestYou scrolled up off the newest lineIt keeps reading and keeps your place, after the run ends too. Jump to latest follows again with focus on the log; so does scrolling back down
[7 lines were dropped before they could be shown: …], in the logThe capture dropped them between two reads: it keeps its newest MaxLines and MaxBytesRaise ExecutionLogCaptureOptions.MaxLines for a job that logs faster
The run ended. This is its log as recorded.The firing's own node runs it no moreIt reads the history by fire instance id up to five times, two seconds apart, for a row written behind, and shows the row's log in full, the lines logged after its last read among them, with the run time it recorded. A listing that leaves the log out, as database history's does: Its full log, with the lines logged after the last read, is on its execution page. No row: the trigger's Past runs. No history: This scheduler keeps no history, so the log is not kept after the run.
This scheduler keeps no log lines of its firings…The scheduler does not call UseExecutionLogCapture()It stops
node-b runs this firing, and this target reaches node-a…The target is not the node running the firing, as behind a load balancerIt stops. Open node-b's own target
No process this dashboard reaches runs this firing…A store-attached window, or a cluster node no member target frontsIt stops
This target runs Quartz older than 4.9…The host or agent has no such routeIt stops
Stopped after 3 failed reads in a rowThree reads in a row failedRetry reads again
  • The lines read so far stay when it stops. Past 2,000 it keeps the newest, under [earlier lines are on the execution page once the run ends].
  • The log stays on its newest line; scrolled up, it keeps your place. Screen readers hear the state change, not every line or count.
  • Closing it gives focus back to the row's Show log, or to the page's heading when the row has gone.
  • A retry is a new firing, with its own row and Show log.
  • It needs View, as Execution Detail does: a scheduler that captures shows its running firings' lines to whoever may view it, whether or not it keeps history.
  • Closing it, or leaving the page, stops it reading. It is not in the Action Log.
  • A cluster of targets asks the member fronting the row's node, alone.

Schedulers

/quartz/schedulers is the fleet: one row per scheduler the container knows, built or not, and one per scheduler reached through a target. It reads ISchedulerRegistry, so a scheduler registered with AddQuartz("acme", …) and not yet resolved is listed with not created status. Listing does not build it.

ColumnWhat it shows
TargetWhere the scheduler was found: an HTTP target, an agent, an attached store, or a cluster's a+b+c. A dash for this process
Reachedthis process, HTTP, agent, store or cluster
SchedulerThe name, linked when built, with the instance id under it
StatusThe status; last seen for an agent
NodesA cluster's member count; else the cluster-node query, asked only of a persistent clustered store
Job store, Threads, Running since, Jobs executed, VersionFrom SchedulerMetadata; a cluster sums jobs executed over its members

Rows are sorted by target, this process first, then by name.

  • Following a row selects that scheduler and opens its Overview, like the header's picker.
  • A registration nothing has built is not a link. The picker shows it greyed out, so a tenant that failed to start is visible.
  • If such a registration becomes the active scheduler (it is the only one, or the running one was shut down), the Overview says it has not been created.
  • The header's picker groups the same rows by target: This process first, then one group per target. The selection is remembered in the qz_scheduler cookie; a remembered key the listing no longer carries falls back to the first scheduler that exists.

Cluster

/quartz/cluster has one row per node of the selected scheduler's cluster, refreshed every five seconds, with the last refresh time in the header so a stalled page is visible.

  • Columns: instance id, state, Quartz version, last check-in, check-in interval, firings held Acquired and Executing, and Serves: all, only reports, (no execution group) or all but gpu, from the node's routing. Nodes publish nothing to the store, so for a single target only the answering node has an entry and the rest show a dash; for a cluster behind several targets, each member's.
  • The answering node is marked (this node).
  • Version, from 4.9: what the node stamped its check-in row with (ClusterNode.QuartzVersion).
    • older than 4.6: the row has no stamp; nodes stamp it from 4.6.
    • not reported: the host answering is older than 4.9 and sends no versions.
    • A store with no check-in rows shows the answering node's own version, and a dash for the rest.
  • A banner while the live nodes run different versions names each version's nodes. While a node older than 4.6 is live, it names that node and its version and says what it costs on every database: every round of work that allows concurrent execution takes TRIGGER_ACCESS (event 3517), and an interrupt request for its firings is never answered (3520). It claims nothing that depends on the database. See Upgrading a running deployment.
  • The state (Alive, Overdue or Failed) is IScheduler.QueryClusterNodes()'s verdict, from the same predicate the store's recovery sweep uses. Meanings, and why a Failed node is listed briefly and then vanishes: Check-in, node states and failover and Reading the cluster.
  • A non-clustered store says so instead of showing an empty table: the only node is this one.
  • Check-in intervals are each node's own configuration. Verdicts use the answering node's clock, so with skewed clocks two nodes can disagree about a third.
  • For a cluster behind several targets, two more columns: the target that fronts each node, and Start, Standby, Shutdown and Interrupt buttons sent through that target's own key. Interrupt stops what the node is running. A node no target fronts shows a dash. ReadOnly hides the buttons.

Execution History

/quartz/history: one row per execution with the node that ran it, how late it started, a node filter, a window, four stat cards whose titles name their scope, a chart of runs over time, and a misfires section. Details under Execution history and misfires.

From 4.10, when the history is kept in this process's memory and the scheduler is clustered, the page says it shows this node's runs only, how to see every node's (UseExecutionHistory() on the persistent store), and the node filter's All nodes reads This node. The Timeline says the same. Through an HTTP target or an agent the dashboard cannot tell where the history is kept, so it says nothing.

Each row's fire time links to /quartz/history/{EntryId}, the execution's own page: job, trigger, node, fire time, the occurrence it serves, duration, how late it started, result, summary, why it ran, attempt, its exception — the type, which links to every failure of it, then what it said — the fire instance id, a table of its metrics, and the lines it logged when the scheduler captures them. It only reads, so read-only mode leaves it unchanged.

Timeline

/quartz/timeline plots completed and currently executing runs on a time axis. Rows exist only for jobs that ran in the selected window; each job shows one track per trigger (with bars and upcoming-fire markers).

Window and pan. The window runs from 10 minutes to 7 days. The page opens on the window that shows the most recent activity. Older / Newer shift the visible range; a panned view appends a pan= offset (seconds) to the URL.

Filters. Job group, rows per page, window, and pan are query parameters; rows per page is behind More filters from 4.9. The name filter is not in the URL. It matches job names locally. Trigger names use one QueryTriggers with NameContains, capped at 500 results. When the cap is hit, some trigger-name matches may be absent; job-name matching still runs over all visible rows.

Jobs refresh / Triggers refresh. Two independent refresh intervals, behind More filters from 4.9 and stored per browser in localStorage, control how often the page reloads:

ControlWhat it reloadsDefaultStorage keyOptions
Jobs refreshBars, headers, and upcoming marks30sqz-timeline-jobs-refresh30s, 1 min, 5 min, Off
Triggers refreshBars and live executing; headers when a fire ends5sqz-timeline-triggers-refresh5s, 10s, 30s, 1 min, 5 min, Off

Off disables that loop; navigation, group/page/window/pan changes, and a trigger action still reload both. Both loops stop while the tab is hidden, and whichever is on reloads when it is shown again. The header badge reflects the Triggers refresh interval. When history returns more than 500 runs for the window, the page says latest 500 runs.

Collapse. Job groups and individual job rows collapse; the browser remembers both in localStorage (qz-timeline-collapsed, qz-timeline-collapsed-jobs). Collapsed jobs hide their trigger tracks until expanded again; the job heading and its status square stay visible.

Job and trigger actions. Each job row carries an action menu — Trigger now, Pause or Resume, Delete — matching the Jobs listing. Pause appears when any live trigger on the row is not paused; Resume when every live trigger is paused; neither when the row has only orphan bars. Each trigger's row carries Run now, Pause, Resume, Reset error, Unschedule, following the same authorization rules as the Triggers listing. A pause asks for an optional reason. Orphan bars from deleted triggers do not offer Pause, Unschedule, or Run now.

Job status. Each job row carries a square status mark (trigger rows use circles): green when any live trigger is scheduled (Normal), amber when every pauseable trigger is paused, violet when any is executing, red when any is in Error/Blocked or when the job itself is gone. A deleted job that still has runs in the window stays with the Missing red square, no job link, and no job actions — history bars only until they age out of the window.

Back. Opening a job, trigger, or execution from the Timeline appends from=timeline and the current window, group, pan, page, and pageSize. The Back link on those pages restores that view. A job or trigger page opened from the Jobs or Triggers listing has no Timeline Back link (and no Back link at all unless another from= was set). An execution page without from= falls back to History.

Remote scheduler without history. If the scheduler runs in another process and its HTTP API does not serve execution history, the page shows only that message — no trigger headers or upcoming fires.

The Timeline still reads each row's upcoming fires on its own; it does not use the Agenda's one read.

Agenda

/quartz/agenda (4.9) lists every fire of every trigger in a window, earliest first, grouped by hour, and pauses a selection of them: what fires tonight between 02:00 and 04:00, and should I pause it?

WhatHow
WindowNext hour, Rest of today, Next 24 hours (the default), Next 7 days, or From and To, read in the header's time zone. At most 7 days, ending within the next 30. The end is excluded. A window outside these is refused on the page, in the header's zone, and nothing is listed until it is fixed
FilterTrigger group, contains
AddressA preset is preset= in the URL (next-hour, rest-of-today, next-24-hours, next-7-days), computed again from now on a reload or a shared link. A typed window is from and to, kept as they are. group is kept with either
ReadsOn load, on a change and on Refresh. Never on a timer: one read computes over every due trigger
HoursThe header's zone, as the header says: Times in Europe/Helsinki (UTC+02:00). A repeated autumn hour is two hours, each labelled with its offset; a skipped spring hour has none
RowsTime, trigger, job, the schedule in words, state, execution group
StatesEvery trigger due in the window is listed in any state. A paused, blocked or error trigger's fires are listed and say so
Measured from completionOnly the trigger's next fire, which the row says

The fires are computed where the triggers are stored, with calendars applied: by the local scheduler, a store window in this process, the host behind an HTTP target, or an agent, in one read. A cluster of targets asks its preferred member. A data source of your own that does not implement QueryUpcomingFires gets a message instead.

Caps. At most 1,000 fires. When a cap cuts the list, the page says where: Showing the first 1,000 fires, up to Tue 03:14. Later fires in the window are not listed: narrow the window or filter by group. More than 10,000 triggers due in the window is refused, naming the group filter. A trigger whose calendar is missing is left out and counted. An empty window under a group filter names the filter and offers Clear group.

Pause selected and Resume selected, with Operate, act on the selected fires' triggers, each once: 2 triggers selected (3 fires). They stay at the top of the listing as it scrolls. Select this hour selects an hour's fires. The pause names the triggers, the first 10 and how many more, asks for a reason and says the triggers stay paused until resumed: nothing resumes them when the window ends, and on resume each trigger's misfire instruction decides what happens to the fires it missed. Both are the Triggers listing's key-set calls, with an Action Log entry per trigger. There is no pause until.

What it does not simulate. The agenda lists the schedules' times. Misfire handling of an overdue trigger, [DisallowConcurrentExecution], execution-group limits, standby and which node fires are not taken into account. An overdue trigger is listed at its schedule's times after the window starts. The list is as of the read.

Live Logs

/quartz/live shows the scheduler's events as they happen, from Quartz's event stream. AddQuartzDashboard() calls AddQuartzSchedulerEvents(), which installs one publisher into every scheduler in the container; the page subscribes for the scheduler on screen.

  • Every event names the node that raised it. A scheduler reached as one node, in this process, through an HTTP target or through an agent, streams that node's events alone. From 4.10, for a clustered one the page says so, naming the node: Events of node … only. A cluster target merges its members' streams, and the page says Every member's events, interleaved.
  • A remote scheduler has a feed too, read through the API's event route. A target whose API predates the route says so instead of looking idle.
  • Each row shows the job, trigger, firing, run time and outcome.
  • Fourteen kinds arrive; thirteen are shown (the heartbeat is consumed). Filter by type from the header. The interrupted-firing and trigger-in-error kinds are new in 4.1.
  • It is a live view, not a log: it starts when the page opens, keeps the newest hundred events, and does not survive a reload; see Current limitations.
  • The page opens no connection of its own, so it works behind a proxy that forwards only the dashboard's path. The SignalR hub is still served and fed for your own clients; a proxy must forward {DashboardPath}/hub only for those.
  • Your clients call JoinScheduler(key) to receive a scheduler's events. A key the dashboard does not list joins its group and receives nothing; join again once it is listed. From 4.8, a stream that ends while its scheduler is listed is subscribed to again within a minute, so joined clients keep receiving. An agent redeployed under the same target is the usual case.

Action Log

/quartz/actions lists what was done through this process, newest first: time, the surface it came through, scheduler, user (from 4.3), action, target, where it landed, success, and any message. It answers "who paused this". From 4.4, a pause given a reason carries it in the message as reason: ….

  • Via (4.9) says which surface: Dashboard for this dashboard's buttons, HTTP API for a request to the HTTP API mapped in the same process, including the dashboard host's, and MCP for a tool of the MCP endpoint. Every API change and every refusal for a role is entered, with the caller's name and the operation's name (PauseTrigger); an MCP change and an MCP change refused are entered the same way, and a read through MCP is not. A client that names itself is shown under the badge, on one line cut short when long, and in full in the tooltip as Client, as stated: MCP's clientInfo (claude-code/2.1), or the User-Agent's first product token. A screen reader reads it with (as stated). The client is the client's own claim and decides nothing; the identity is the user. The Via filter above the table reads one surface alone.
  • An API entry's message is what the dashboard's own button would have written: a pause's reason: …, a backfill's range and slots, with job data on a trigger-now that carried some. An answer of { "applied": false }, an interrupt that found nothing running, is entered as not done, as the dashboard enters one.
  • The store is in-memory and process-wide, holding the last 250 actions across schedulers and surfaces. The page shows the most recent 100 of those that target the selected scheduler and pass the filter. A busy script can push the dashboard's own entries out of the 250.
  • Other nodes' and other dashboards' actions are not here, and nothing survives a restart. An API action is also logged as event 9007, a refusal as 9009. From 4.10 the page says so under its title, naming the process, and the Overview's Recent admin actions says This process only. With an auditor registered it adds Every action is also handed to the application's audit.

Where each action landed:

  • The scheduler's origin is a tag on the row. Remote adds in another process: that scheduler performed the action. The scheduler's key is cut short on one line, whole in its tooltip. Below 1600 px the cut is narrower and the tag is read out rather than shown, so that every column fits at 1440 px.
  • A node-local action names the node it reached: interrupting a firing, start, stand-by, shutdown.
  • A cluster-wide action (pausing a trigger, deleting a job) names no node: it wrote the store, which binds every node.
  • A scheduler this browser session never listed shows no origin.

Every entry is also logged at Information through the application's ILogger: event 9100 on success, 9101 on failure, each naming the visitor, action, target and scheduler, ending with (origin …, node …). An action an operator role refused is Refused on the page and event 9118 at Warning, with the role it needed, or event 9119 with the reason an auditor gave. This copy survives a restart. Connections opening and closing are logged at Debug (9102, 9103). See Log Events.

The visitor is ClaimsPrincipal.Identity.Name, or (anonymous) when nothing authenticated, which is every entry for a dashboard mapped with AllowAnonymous().

Execution groups

The Overview's panel joins the scheduler's limits (IScheduler.GetExecutionLimits) to its firings in flight, so configured ceilings are visible in the UI.

  • Both firing states count. A reservation holds a slot like a running execution, as the acquisition filter counts it.
  • Counts are cluster-wide with a persistent store, because the firing listing is; with an in-memory store they are this node's. The panel names the scope, and flags a node-scoped limit compared against a cluster-wide count (each node enforces its own copy of such a limit).
  • other groups is a rule, not a bucket. It gives each unlimited group its own allowance, so nothing is in flight against it. A group it governs says so. It never covers the ungrouped bucket, matching the scheduler.
  • A derived group is labelled. With UseTriggerGroupWhenUnset, a trigger with no execution group is limited as if in a group named after its trigger group; the panel resolves and marks it the same way.
  • A scheduler that cannot report limits says so, for an IQuartzApiClient or IScheduler of your own that does not implement them.
  • A node that routes gets two more columns. When the scheduler reports ServedExecutionGroups or RefusedExecutionGroups, the panel says which lists it is, lists every routed group whether or not anything is in flight, and adds Served here (✓ or —) and Overdue: Normal triggers of the group due more than five minutes ago, from one more trigger query per refresh. Five minutes is a fixed figure, because the dashboard does not know the store's misfire threshold; the health check measures in thresholds. A group with overdue triggers that this node does not serve is marked not served here: check that a node serving it is running. A node that routes nothing makes no extra query and shows no extra column.

The schedulers the dashboard covers

AddQuartzDashboard() calls AddQuartzExecutionHistory() and AddQuartzSchedulerEvents(), which install Quartz's execution recorder and event publisher into every scheduler in the container, through ConfigureAllQuartzSchedulers, in any call order.

  • A scheduler registered with AddQuartz("acme", …) gets Live Logs and History like the default one.
  • Each scheduler gets its own instance of each, initialized with its name; both feeds are attributed to the producing scheduler.
  • DashboardHistoryPlugin and DashboardLiveEventsPlugin are still public and work when named in a quartz.plugin.*.type key, but are not registered here. Registering one beside the pair above records every execution, or pushes every event, twice.
  • The covered schedulers are those on the Schedulers page: every registration, built or not.

Fronting a scheduler in another process over HTTP

Register a scheduler from another process with AddQuartzHttpClient (see HTTP Client) and it appears beside the local ones:

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);

// The credential and the timeout are the HttpClient's: the dashboard adds nothing of its own.
// A short timeout matters — every page reading this scheduler waits on it.
builder.Services.AddHttpClient("quartz", client =>
{
    client.BaseAddress = new Uri("https://scheduler.internal/quartz-api/");
    client.Timeout = TimeSpan.FromSeconds(10);
    client.DefaultRequestHeaders.Add("X-Api-Key", "…");
});

// The scheduler's name has to be the one the target goes by: it is in every route.
builder.Services.AddQuartzHttpClient("QuartzScheduler", "quartz");

builder.Services.AddQuartzDashboard();

The target must map the HTTP API (app.MapQuartzHttpApi()), and the name given here must be its scheduler's name, which is in every route.

PageOver HTTP
Overview, Jobs, Triggers, Calendars, Currently Executing, ClusterRead through the API's routes
Every action (pause, resume, trigger now, reschedule, edit, bulk, delete)Performed by the target's scheduler, in its process
Execution HistoryThe target's own history
Live LogsThe target's own events; a target too old for the route says so
Schedulers, and the header's pickerListed as Remote

Several processes whose schedulers share a name

Give each registration a Target. Every worker's default scheduler is QuartzScheduler, so two workers are two targets, not two names:

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);

builder.Services.AddHttpClient("worker-1", client => client.BaseAddress = new Uri("https://worker-1.internal/quartz-api/"));
builder.Services.AddHttpClient("worker-2", client => client.BaseAddress = new Uri("https://worker-2.internal/quartz-api/"));

// Both workers run the default scheduler, QuartzScheduler. The target tells them apart: the
// dashboard lists w1/QuartzScheduler and w2/QuartzScheduler, and resolves each by that key.
builder.Services.AddQuartzHttpClient(options =>
{
    options.SchedulerName = "QuartzScheduler";
    options.HttpClientName = "worker-1";
    options.Target = "w1";
});

builder.Services.AddQuartzHttpClient(options =>
{
    options.SchedulerName = "QuartzScheduler";
    options.HttpClientName = "worker-2";
    options.Target = "w2";
});

builder.Services.AddQuartzDashboard();
With TargetEffect
Keyw1/QuartzScheduler: the picker's value, every IQuartzApiClient call, the hub group
ListingOne row per target; the picker groups them under the target
Service keyThe target: GetRequiredKeyedService<IScheduler>("w1"), and the keyed history store and event source
Bare nameResolves to nothing. A bare key is a scheduler reached through no target
Duplicate targetSchedulerConfigException at the second AddQuartzHttpClient, or at host start against an attached store of that name
ClusterTargets on one clustered persistent store merge into one row; see A cluster behind several targets

A target name cannot contain / or +. Registrations without a Target keep their bare name and their per-name refusal of a duplicate.

Before pointing one at production:

  • One target is one process. Behind a load balancer, node-local operations land on whichever node the balancer picks, and two page renders may reach two nodes.
    • Node-local: interrupting a firing (must reach the running node, unless the store is clustered and every node is 4.6: then the answering node records a request the running node acts on after its next check-in, see Interrupting a firing on another node), start, stand-by and shutdown (act on the answering node), node-scoped execution limits, the node's figures in the scheduler details (instance id, running since, jobs executed, jobs executing here), and live events (the answering node's; each names its node).
    • Not node-local: with a persistent store, jobs, triggers and firings in flight are the whole cluster's whichever node answers.
    • Point one target at each node's own address, and the dashboard shows the nodes as one cluster.
  • The credential is the HttpClient's. QuartzDashboardOptions.AuthorizationPolicy decides who opens the dashboard; the target sees only what the named client was configured with (a header, a handler, a certificate). Nothing is forwarded from the signed-in user.
  • Give the client a short timeout. Pages reading that scheduler wait for it, and HttpClient's default is 100 seconds. The scheduler listing has its own deadline and shows a non-answering scheduler as Unknown, but job and trigger pages wait for the client.
  • The dashboard's ReadOnly and the API's are separate. QuartzDashboardOptions.ReadOnly only hides this dashboard's controls. QuartzHttpApiOptions.ReadOnly on the target refuses every mutating route, including from a dashboard still showing buttons, which then reports the refusal.

A target whose HTTP API is older than 4.1 has no history routes. The History page says "this scheduler runs in another process and its Quartz HTTP API does not serve execution history", and the Overview's misfire tile shows a dash, not zero. Such a target has no update-details route either: Save details shows its refusal beside the fields. One older than 4.2 ignores the next fire before filter, which is then disabled with the reason. One older than 4.4 keeps no run status, so the Jobs columns and the Job Detail panel are left out, and the History page's results and one-job filters say the host cannot answer them.

Fronting a scheduler on another machine

A worker the dashboard cannot dial — behind NAT or a firewall, on the far side of a trust boundary, with no port to open — dials the dashboard instead, with Quartz.Dashboard.Agent. The dashboard accepts agents with AcceptAgents, which maps the agent hub at {DashboardPath}/agents:

builder.Services.AddQuartzDashboard(options => options.AcceptAgents(agents =>
{
    // The token every agent presents, as an Authorization: Bearer header. Keep it in a
    // secret store: whoever holds it can register a scheduler on this dashboard.
    agents.Tokens.Primary = builder.Configuration["Dashboard:AgentToken"];
}));

The worker's side is one call, UseDashboardAgent. Each agent registers a target and its scheduler, and the dashboard lists it as worker-1/QuartzScheduler, reached through an agent.

OptionDefaultWhat it is
Tokens.Primary, Tokens.Secondary—The bearer tokens the hub accepts; two slots so a rotation never locks an agent out
AuthorizationPolicy—A policy the hub is held to, for agents presenting the host's own credential. With tokens set as well, both apply
HeartbeatInterval15 sHow often each agent reports; the agents adopt it at registration
OfflineAfterMissedHeartbeats3Missed heartbeats before the scheduler is listed as Unknown
OperationTimeout30 sHow long one request to an agent may take before it is cancelled on both sides
MaxMessageBytes4 MiBThe most one answer may carry; the agent refuses a larger page with 413, telling the page to lower take
ForgetAfter1 hHow long a disconnected agent stays listed before the row is dropped
IsJobTypeAllowed—A job-type predicate applied here before a request is sent on, so an operator can stop a type at the dashboard without touching every worker. It binds nothing on the worker

A hub with neither tokens nor a policy refuses to start, as the pages do. MapQuartzDashboard().RequireAuthorization() does not cover the hub: humans and machines authenticate differently, so what authorizes the hub is stated in AcceptAgents and nowhere else. The token travels as an Authorization: Bearer header; a token in the URL is not read.

To rotate the token, accept both for the time it takes to roll the agents over:

builder.Services.AddQuartzDashboard(options => options.AcceptAgents(agents =>
{
    // Both are accepted while the rotation runs: set Secondary to the new token, roll the
    // agents over to it, move it to Primary, and clear Secondary.
    agents.Tokens.Primary = builder.Configuration["Dashboard:AgentToken"];
    agents.Tokens.Secondary = builder.Configuration["Dashboard:NextAgentToken"];
}));

To hold the hub to the host's authentication instead:

builder.Services.AddAuthorizationBuilder()
    .AddPolicy("agents", policy => policy.RequireAuthenticatedUser().RequireRole("quartz-agent"));

builder.Services.AddQuartzDashboard(options => options.AcceptAgents(agents =>
{
    // No shared secret: the hub is held to the host's own authentication, and an agent
    // presents what its AccessTokenProvider hands it. With Tokens set as well, both apply.
    agents.AuthorizationPolicy = "agents";

    // A liveness judgement of 20 s × 3, instead of 15 s × 3; the agents adopt the interval.
    agents.HeartbeatInterval = TimeSpan.FromSeconds(20);
    agents.OfflineAfterMissedHeartbeats = 3;
}));
PageOver an agent
Overview, Jobs, Triggers, Calendars, Currently Executing, ClusterRead through the connection, as the API's routes
Every action (pause, resume, trigger now, reschedule, edit, bulk, delete)Performed by the worker's scheduler, in its process, unless the agent refuses it
Execution HistoryThe worker's own history, recorded in memory by UseDashboardAgent
Live LogsThe worker's own events, streamed while the page watches
Schedulers, and the header's pickerListed as Agent, with last seen beside the status

How the row behaves over time:

The agentThe row
RegistersRunning (or whatever it reports); last seen is now
Misses three heartbeats (45 s)Unknown with last seen, without waiting on the connection; logged once (9116)
Heartbeats againAsked again, and back to its status
DisconnectsUnknown until it reconnects (9114)
Shuts downShutdown, after its goodbye
Stays away for ForgetAfterDropped from the listing (9115)
Reconnects under the same target and instance idTakes its own row over
A second process registers a target a live agent holdsRefused (9113) and retried every 30 s; give each process a target of its own
  • The agent decides what it accepts. ReadOnly here hides the buttons; the worker's DashboardAgentOptions refuse. An agent refuses to store a job by type name until its IsJobTypeAllowed is set, so a Jobs page that adds one shows that refusal naming the option.
  • The cluster rule applies. Agents whose schedulers share one clustered store are merged into one cluster row, and the Cluster page reaches each node through its agent.
  • One dashboard instance. The hub keeps its registrations in the process that accepted them. A dashboard scaled out behind a load balancer shows each agent on the instance it dialled.
  • AddQuartzDashboard() needs no scheduler of its own to accept agents: it registers the shared services a scheduler repository needs.

Store-attached targets

Point the dashboard at the database, and every scheduler in it gets pages. Nothing is asked of the processes doing the work (no port, plugin or change), and one attachment covers every scheduler and node in that database.

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);

builder.Services.AddQuartz();

builder.Services.AddQuartzDashboard(options => options.AttachStore("prod", store =>
{
    // The cluster's own store configuration, not an approximation of it: the window reads
    // the blobs the nodes wrote, so the dialect, the table prefix, the serializer and any
    // custom trigger serializers all have to be the ones they were written with.
    store.UseSqlServer(connectionString);

    // The nodes keep their history in the database, so the window can read it. Leave this
    // out and the window's History page has nothing to show: an in-memory history is the
    // process's own, and no node's process is this one.
    store.UseExecutionHistory();
}));

Use this for a cluster behind a load balancer. An HTTP target reaches an arbitrary node per render; a store-attached target talks to no node.

What a window is

A window is a scheduler this process builds over the same store, with ZeroSizeThreadPool, and never starts (its store refuses to). It is the documented admin-process pattern (a process that writes a schedule for others to run) plus discovery and presentation.

Discovery queries distinct SCHED_NAME values in QRTZ_SCHEDULER_STATE, QRTZ_TRIGGERS and QRTZ_JOB_DETAILS. A name in any of them is a scheduler: a non-clustered scheduler writes no check-in row, and one with only durable, unscheduled jobs has no triggers. Discovery runs at start-up and then every AttachStoreOptions.RediscoveryInterval (default one minute):

services.AddQuartzDashboard(options => options.AttachStore(
    "prod",
    store => store.UsePostgres(connectionString),

    // Every five minutes rather than every minute, for a database whose set of schedulers
    // changes rarely. null asks once, at start-up, and never again.
    attach => attach.RediscoveryInterval = TimeSpan.FromMinutes(5)));

Rediscovery only adds. A scheduler whose rows were deleted keeps its window and shows an empty schedule, rather than a page vanishing under an operator.

Identity is target/name

Every scheduler the dashboard shows has a key, which SchedulerRef parses: target/name for a scheduler reached through a target, the bare name for one reached through none.

SchedulerKeyTarget
Of this processreportingnone
AddQuartzHttpClient without TargetQuartzSchedulernone
AddQuartzHttpClient with Target = "w1"w1/QuartzSchedulerw1
Window onto the store attached as prodprod/reportingprod
Cluster of targets a, b, ca+b+c/QuartzSchedulera+b+c
  • The key is what the picker holds, what every IQuartzApiClient member takes, and the hub's group name.
  • A bare key resolves only to a scheduler reached through no target. A bare name that only targets hold is KeyNotFoundException, naming the keys that would resolve. A window answers to its bare name too, so everything written against 4.4 keeps working.
  • A target name cannot contain / or +, and one name holds one target of any kind: a store and an HTTP target named prod fail host start naming both.
  • A scheduler of this process may contain / in its name; its exact name wins over a key that reads like it.
  • A window's name colliding with a scheduler this process already has is refused, naming both, logged as 4027; the rest of the database is shown. That refusal is permanent.
  • A window that fails to build for any other reason is logged as 4029 and retried next round, without stopping the others.

Status comes from the cluster, never from the window

A window is never started, so its own SchedulerStatus is always Created. The Schedulers page, the picker and the Overview derive status from QRTZ_SCHEDULER_STATE instead:

Check-in rows under that SCHED_NAMEReported
At least one node within its check-in interval plus the thresholdRunning, with the node count
Rows, but every one convictedShutdown: every node that checked in has stopped without leaving, as a crashed node does
No rowsUnknown

A non-clustered scheduler writes no check-in row, so a window cannot tell it from one never started, and reports Unknown rather than "stopped". Nor can it tell a cluster whose every node shut down cleanly, because such a node deletes its row (4.8). For liveness of a non-clustered scheduler, reach it over HTTP.

The window writes no check-in row and is never listed as a node; the Cluster page says whose rows it shows.

What a window can and cannot do

The store is the contract.

AvailableNot available
Jobs, triggers, calendars, groups, paused groups: read, added, edited and deletedStart, Standby, Shutdown
Pause, resume, reschedule, edit in place, backfill, unschedule, trigger now, bulk actionsLive Logs and the live event stream
Interrupting a job or a firing, from 4.7The node's own figures: instance id, running since, jobs executed
Currently Executing, from QRTZ_FIRED_TRIGGERSA running firing's log: Show log says no process here runs it
Cluster, from the nodes' check-ins
Agenda, computed in this process from the shared tables
Execution History and the misfire tile, when the cluster keeps history in the database
  • The left column writes the shared tables, and whichever node picks up the work honours it, as in any cluster.
  • An interrupt is a request on the firing's QRTZ_FIRED_TRIGGERS row. The node running it acts after its next check-in. A firing on a node with no live 4.6 or later check-in row is refused with SchedulerException naming the node: a node that is not clustered, is older, or has died never reads the request.
  • The right column belongs to one process; a database cannot instruct a node. The pages do not offer these, the client refuses them, and the Overview says so.
  • The HTTP API of a process holding a window refuses start, standby and shutdown for it with a 400. The window's store refuses a start from anywhere: starting would run the cluster's start-up here, whose recovery deletes the fired-trigger rows of firings the nodes are running.
  • To reach one node for those, use an HTTP target or an agent.

Three things to get right

  • Use the cluster's store recipe: the same dialect, table prefix, serializer and UseTriggerPersistenceDelegate registrations. A mismatched serializer fails on the first trigger it cannot rebuild.
  • UseExecutionHistory() on both sides. The nodes must keep history in the database (UsePersistentStore(store => store.UseExecutionHistory())), and the attached store must say so too. Otherwise the History page says there is no history here. The window never writes or sweeps history; retention stays with the nodes.
  • The dashboard holds the database credentials, as powerful as any node's. Whoever can open the dashboard can read and write the cluster's schedule. Use ReadOnly and the authorization policies, and do not attach a store across a trust boundary; that is what an agent is for.

A window is not reported to the health check: AddHealthChecks().AddQuartz("reporting") in a dashboard process reports it unhealthy, with a message to check the nodes instead.

A cluster behind several targets

Targets that front the nodes of one cluster are shown as one scheduler: a+b+c/QuartzScheduler, origin Cluster, members a, b, c. Nothing is configured; the dashboard detects it.

services.AddQuartzDashboard(options =>
{
    // Targets on one clustered persistent store are merged into one row, w1+w2/QuartzScheduler,
    // at host start and then this often; null never merges them.
    options.ClusterDetectionInterval = TimeSpan.FromSeconds(30);
});
RuleDetail
Who is askedEvery HTTP target or agent whose scheduler name another target also fronts
GateJobStoreClustered and JobStorePersistent. A non-clustered scheduler reports NON_CLUSTERED and is never merged
MergeTargets whose QueryClusterNodes answers share a node, transitively. Two or more form a cluster
KeyMember targets sorted, joined with +. A membership change renames the row
MembershipSticky. A member that stops answering stays as an unreachable node; it leaves when it answers with nodes the cluster does not have, or its target is removed
Never answeredNever merged
WhenAt host start, every ClusterDetectionInterval, and whenever a target is added or removed
Log9105 formed, 9106 membership changed, 9107 dissolved (Information); 9108 round failed (Warning); 9109 member unreachable, 9110 target did not answer (Debug)

What goes where:

OperationRouted to
Jobs, triggers, calendars, pause, resume, trigger now, reschedule, bulk, delete, cluster nodes, AgendaThe preferred member: the first, by target, that answered the last round
Interrupt (job)From 4.7, the preferred member, or the next if it fails, plus every member older than 4.6; true if any interrupted or recorded a request. With no member at 4.6, every member
Interrupt a firingFrom 4.7, with every member at 4.6, as Interrupt. Otherwise the member whose node owns the firing, per the store; every member when none does
A running firing's logFrom 4.9, the member fronting the row's node; without one, the node that owns the firing, per the store. Unreachable when no member fronts it
Execution limits, setEvery member, in target order; the first failure names the members already set
Execution limits, readThe preferred member's
StatusRunning if any member is, else Standby if any, else what the rest say; Unknown when none answered
Scheduler detailsThe preferred member's, with jobs executed and executing summed over the members and the earliest start
Execution HistoryThe preferred member's. With UseExecutionHistory() on the nodes that is the shared table
Live LogsEvery member's events, interleaved; each names its node
Start, Standby, ShutdownRefused with NotSupportedException. Use the Cluster page's per-node buttons, which go through the member's key
  • Member rows are hidden from the Schedulers page and the picker; they stay resolvable by key, a/QuartzScheduler.
  • Failover is per round: a dead preferred member answers with its error until the next round re-elects.
  • SchedulerAuthorizationPolicy sees the cluster as SchedulerResource("QuartzScheduler") { Target = "a+b+c" }, and a member as Target = "a".

Hosting under a custom path

When the dashboard hosts its own Blazor root, set a custom base path at the map site:

app.MapQuartzDashboard("/my-api/quartz").RequireAuthorization();

or at registration, when the path comes from configuration:

services.AddQuartzDashboard(options =>
{
    options.DashboardPath = "/my-api/quartz";
});
  • If both are given, the pattern passed to MapQuartzDashboard wins. The parameterless overload uses DashboardPath.
  • A map-site pattern follows the option's rule: a plain URL path starting with /, with no {, }, ?, #, . or .. segments and no empty ones.

With a custom path, the whole dashboard is under it: pages, navigation links, the SignalR hub, the interactive circuit ({DashboardPath}/_blazor), the framework script ({DashboardPath}/_framework/blazor.web.js) and the static assets ({DashboardPath}/_content/Quartz.Dashboard/*). The shell emits a <base href> rooted at the dashboard.

  • Behind a proxy that forwards a path prefix without setting a path base, set DashboardPath to the external path (e.g. /my-api/quartz when the proxy forwards /my-api/* verbatim), and forward WebSocket connections for {DashboardPath}/_blazor, which every page needs.
  • {DashboardPath}/hub is the live-events hub. From 4.1 the dashboard's own pages do not use it, so the application need not reach its own public address for Live Logs. Forward it only for your own clients.
  • With UsePathBase() (or a proxy that sets the path base), DashboardPath is relative to the path base, and the default /quartz works under the prefix. With minimal hosting (WebApplication), call app.UseRouting() explicitly after app.UsePathBase(...), or routing matches the unstripped path and every dashboard route returns 404:
app.UsePathBase("/my-api");
app.UseRouting();
  • Behind a proxy that strips the prefix (the browser asks for /my-api/quartz, the application receives /quartz), UsePathBase has nothing to strip. Keep the default DashboardPath and set the path base before static files and routing:

    The proxySet the path base with
    Sends the stripped prefix as X-Forwarded-Prefixthe forwarded-headers middleware
    Sends nothinga middleware that writes the known prefix
// The proxy strips /my-api and names it in X-Forwarded-Prefix, which becomes the path base.
app.UseForwardedHeaders(new ForwardedHeadersOptions
{
    ForwardedHeaders = ForwardedHeaders.XForwardedPrefix
});
app.UseRouting();
// The proxy strips /my-api and says nothing, so the application puts it back.
app.Use((context, next) =>
{
    context.Request.PathBase = "/my-api";
    return next(context);
});
app.UseRouting();
  • The forwarded-headers middleware ignores the header from a proxy it does not know. Only loopback is known by default; add your proxy to KnownProxies or KnownIPNetworks.
  • Forward WebSocket connections for the circuit as well, here /my-api/_blazor.

Upgrading existing custom-path deployments

The Blazor circuit used to stay at the site root. With a custom DashboardPath it now connects at {DashboardPath}/_blazor; update reverse-proxy rules scoped to /_blazor, such as a WebSocket-upgrade location.

Warning

A custom path is not supported with MapQuartzDashboard(blazor) (integrating into an existing Blazor application). Page routes are fixed at /quartz there, and a custom path fails startup with a descriptive exception. There is no MapQuartzDashboard(blazor, pattern) overload.

Inside an application

From 4.10, a dashboard mounted in an existing admin application, such as MapQuartzDashboard("/admin/scheduler") opened from the application's menu, can lead back to it and carry its name:

services.AddQuartzDashboard(options =>
{
    // the sidebar's first row reads "Back to Fueling admin" and leads to /admin
    options.ApplicationPath = "/admin";
    // and every tab title ends with the name: "Jobs · Quartz.NET · Fueling admin"
    options.ApplicationName = "Fueling admin";
});
OptionDefaultWhat it does
ApplicationPathnoneThe sidebar's first row, Back to …, leads there: a path in the application, under the request's path base as DashboardPath is, or an absolute http or https URL. Anything else, or a value with whitespace or a control character, fails startup, naming the value. On the rail it is the arrow alone, named by its title
ApplicationNamenoneThe link reads Back to Fueling admin, and every tab title ends with the name: Jobs · Quartz.NET · Fueling admin. Without it the link reads Back to application, and the titles end with Quartz.NET
  • The link is in the dashboard's own sidebar, so it is drawn when the dashboard owns its Blazor root. Integrated into an application's Blazor root, the pages are under the application's layout, which is the way back there; the tab titles still end with the name.
  • The Dashboard Host has no setting for either: it is an application of its own.

Execution history and misfires

AddQuartzDashboard() calls AddQuartzExecutionHistory(), so the History page at /quartz/history fills without further setup. Each row: job, trigger, node, fire time, duration, how late it started, result, the job's summary and metrics, and the error if any.

  • Result: Succeeded, Skipped, Failed, Failed (retrying) or Cancelled; a Manual badge on a run asked for with Trigger now, and a Backfill badge on a run that filled a slot the schedule had. From 4.10 the badge's tooltip says who asked for the run, and a screen reader reads it after the word. A row written before 4.4 shows Succeeded or Failed. See Job Outcomes.

  • Job and Trigger: the name over its group. A key is never cut short: it wraps at its words. Each keeps at least 12rem (11.5rem below 1440px), and below that the table scrolls inside its card, never the page.

  • Late: how late the run started, from when the attempt was due until the job was called: 12 s, 4 min 12 s. Blank when under a second, and a dash on a row written before 4.9.

  • Error: the short name of the type of what the job threw, on one line, with the full type and the message in the title; it links to the listing narrowed to that type. The message alone on a row written before 4.9.

  • Stat cards over every run the filters and the window match: runs, success rate, failed, longest run. A source that cannot count runs over time shows the page's success rate, failures, average and P95 duration, titled (page).

  • The chart, from 4.4: runs per bucket stacked by result, and beneath it the median and 95th percentile duration. It follows every filter and the window. Hover a column for its figures, or, from 4.9, Tab to the chart and move along it with the arrow keys, Home and End; Escape puts the figures away, and a screen reader reads each column's. Show as a table lists them. See Run statistics.

  • Filters: window, job, trigger, node, outcome and, from 4.4, results and one job exactly, and, from 4.9, origin and exception type.

  • The node filter narrows to one machine, and the stat card titles then say so, so one node's success rate is not read as the fleet's.

  • The outcome filter handles retries. A job with a retry policy of three writes four failed rows for one bad night. A failure followed by another attempt shows Failed (retrying); Failed after retries shows only occurrences that gave up.

  • The results filter lists the ticked results; none ticked lists every result. A scheduler in another process whose host is older than 4.4 cannot filter by result or by one job, and the page says so.

  • The origin filter, from 4.9, lists the runs of one origin: scheduled, manual or backfill. The exception-type filter lists the failures of one exception type, matched exactly by its full name, which an Error cell's link fills in. With either applied the stat cards count the rows on the page, as they do for a source that cannot count at all, because the run statistics know no origin or exception type. A scheduler in another process whose host is older than 4.9 cannot filter by either, and the page says so.

  • The execution page names the occurrence the run serves by what it is, so that wherever it says Due, Fired minus Due is about Started late by. Manual is shown only on a row from before 4.9; Origin says it on every later one. From 4.10, Requested by under it names who asked for a manual or backfill run, or a dash.

    The runThe rowStarted late by is measured from
    Scheduled, manual, or a plain recoveryDuethat time
    A backfillSlot, the slot it filledwhen the backfill ran it
    A retry, a misfire catch-up, or a recovery of eitherOccurrencewhen that attempt was due: after the backoff, when the misfire policy moved it
  • Who asked, from 4.10: Run now, Run again and Backfill… record the signed-in visitor as the run's requester, the name a pause records. It is not job data, so an operator may still run a job now. With the database history, run 4.10/add_execution_requested_by_<db>.sql. See Who asked for the run.

  • Run again, on those failed rows, fires the job through IScheduler.TriggerJob. It is logged in the action log and hidden in read-only mode. A row that will be retried has no button. The toast says which input it used:

    The rowRun again passes
    Has an input, from 4.4 with RecordInputThe input, under SchedulerConstants.JobInput: with the original input, logged as TriggerJobWithData
    Has none, or one too large to keepNo map: the job's own data, without input

    The execution page shows the input and has the same button, labelled with the input it will pass.

    The job must still be stored. A job without StoreDurably() is deleted with its last trigger, so a spent one-off cannot run again. The dashboard says The job {group.name} is no longer stored. A job that isn't durable is deleted with its last trigger; store it with StoreDurably() to run it again.

    PageWhere
    HistoryThe toast and the page's error, once Run again fails
    ExecutionThe tooltip of Run again, which is disabled

    The action log records the scheduler's own refusal. ScheduleJob<TJob, TInput> already stores its job durably.

Every filter is a query parameter, so a narrowed view is a link:

FilterParameter
Job, a fragmentjob
Trigger, a fragmenttrigger
Nodenode
Failed after retriesoutcome=failed
Resultsresult=failed,cancelled
Originorigin=schedule, manual or backfill. From 4.9
Exception typeexceptionType=System.InvalidOperationException. From 4.9
One job exactlyjobGroup and jobName, which the Job Detail page's View execution history link writes
One trigger exactlytriggerGroup and triggerName, which the Trigger Detail page's View execution history and Currently Executing's Past runs write. From 4.6. From 4.9 it lists the slots backfilled for the trigger too: This trigger and its backfills. Origin: Scheduled leaves them out, Backfill lists them alone, and the label says which. A row written before 4.9 carries no origin, so either choice hides it
Windowwindow=1h, 24h, 7d or 30d; absent is all retained

Below, misfires lists firings that did not happen, which never appear as executions: trigger, its job, the node that noticed, the missed firing, when it was noticed, and the reason — Misfire, Overlap for one a trigger's overlap policy skipped, or Vetoed for one a trigger listener refused. The overview's tile counts misfires only. With one job or one trigger selected, the section lists that one's, and a trigger's with its backfills.

  • A host older than 4.9 cannot list a trigger's backfills. The page then reads the trigger alone, as before 4.9: the filter reads This trigger only, with the host's reason in its tooltip.

Job run status

From 4.4, the history keeps a status per job: its last run, last success, last failure and how many occurrences in a row failed for good. See Read a job's status.

PageShows
JobsLast run, Last success and a failing ×N badge linking to that job's final failures; one read per page
Job DetailA Runs panel: the last run linking to its execution, its summary, the last success and failure, the counts

A source that keeps no status (an IDashboardHistoryStore of your own, a scheduler in another process whose host is older than 4.4) leaves the columns and the panel out.

Job health

From 4.10, the dashboard shows which jobs need attention, and why: the answer GetJobHealth gives, which the health check gives too.

Reason chipLinks to
failing ×NThe job's final failures in History
trigger in ERROR: group.nameThe trigger's page, where Why isn't it firing? explains the state and offers the reset
no success in 26 hNothing; beside it, the last success in the dashboard's time zone, or never succeeded. Unhealthy windows wear the danger colour
PageShowsRead
OverviewNeeds attention: the 10 gravest jobs with their status and reasonsEvery job's answer, every five seconds
Job DetailA Health panel above Runs: the status, the reasons, and the window, must succeed within 26 h; Unhealthy when late, or no success windowThe job alone, with the healthy answered
JobsA Succeeds within column, and a status chip under the failing badge while a job is late or has a trigger in ERROROne read per page, with the healthy answered
  • A source that cannot say leaves it out: a host older than 4.10, an IQuartzApiClient of your own, a history that keeps no per-job status. The Overview shows its 4.9 failing jobs instead.
  • Windows are not edited here. A job declares one in code, or the health check's RequiredJobs configures one. The job data map shows the QRTZ_SUCCESS_WITHIN keys read-only, as every QRTZ_ key.
  • A window reads as a duration, 1 min, 26 h, 3 d 4 h; hover for the exact value, 1.02:00:00.
  • Over HTTP and through an agent, the host answers with its own requirements. On a store-attached window, the dashboard judges the stored jobs from the database's history.

Trigger run status

From 4.9, the Triggers listing shows each trigger's own last run, from the status the history keeps per trigger. See Read a trigger's status.

Shows
Last runThe result, how long it took and how long ago it fired. Hover for the fire time in the dashboard's time zone, the node and the summary
failing ×NUnder it, while the trigger's latest occurrences failed for good. Hover for the last failure's message; it opens that trigger's final failures in History
—No run of this trigger is recorded: it has not fired, or only manual runs, backfills and recoveries ran its job
  • One read per page and per Refresh, for the page's triggers. Over HTTP it is one POST …/history/trigger-status/fetch.
  • The column is left out where the source keeps no trigger status: an IDashboardHistoryStore of your own, a host older than 4.9, a database without QRTZ_TRIGGER_STATUS.
  • A store-attached window that reads the history (UseExecutionHistory()) opens over a database without QRTZ_TRIGGER_STATUS once database/migrations/4.9/add_trigger_status_<db>.sql has run against it: its scheduler refuses to start without the table, as it did without 4.4's QRTZ_JOB_STATUS.
  • During a rolling upgrade a 4.8 node's firings are not counted, so Last run can be older than Previous fire, and a 4.8 node's success leaves the badge.
  • Trigger Detail and Job Detail's table of triggers do not show it.

Run statistics

From 4.4, the History page charts what its filters list, and the Job Detail page charts that job. Both read IExecutionHistoryStore.QueryExecutionStatistics; see Count runs over time.

WindowBuckets
All retainedA day each; an hour each while every run is from the last three days
Last hour5 minutes
Last 24 hoursAn hour
Last 7 days6 hours
Last 30 daysA day
  • A window starts on a bucket boundary, so its first bucket is whole. Buckets are UTC; labels are in the selected time zone.
  • Counts and durations are two panels over one time axis, never one chart with two scales.
  • The History page reads the statistics when a filter changes and every 30 seconds; the rows refresh every second. Above the cards it says when it last read them, in the selected time zone, so the cards and the chart can lag the rows without seeming to contradict them. The page's row count sits over the table, under the chart.
  • An empty stretch is a gap. A store that stopped counting at its row limit says so under the chart.
  • A source that cannot count (an IQuartzApiClient of your own, a scheduler in another process whose host is older than 4.4) leaves the chart out.
  • With the database history, the chart needs PostgreSQL, Oracle, SQL Server 2012+, MySQL 8.0+, SQLite 3.25+ or Firebird 3+. On an older server the read fails and the chart is left out; the stat cards count the page.

The history belongs to Quartz: AddQuartzExecutionHistory()'s recorder writes it, the container's IExecutionHistoryStore holds it, and the HTTP API serves the same rows. The shipped store is per-process and in-memory. Its bounds are ExecutionHistoryOptions, by age (24 hours) and count (2000 per feed per scheduler), and adding the dashboard leaves them as you set them:

services.AddQuartzExecutionHistory(options =>
{
    options.Retention = TimeSpan.FromDays(7);
    options.MaxEntriesPerScheduler = 20_000;
});

// Leaves those bounds alone.
services.AddQuartzDashboard();

The dashboard's HistoryRetention and HistoryMaxEntriesPerScheduler replace Retention and MaxEntriesPerScheduler when changed from their defaults (24 hours, 2000), whatever the registration order. At their defaults they replace nothing; before 4.9.1 the defaults replaced the application's bounds.

The age bound stops a quiet scheduler showing arbitrarily old executions. It is measured on the scheduler's TimeProvider and applies on read as well as write, so a scheduler that stops writing still forgets.

To keep history across restarts, register your own store before AddQuartzDashboard (the shipped registration is a TryAdd). Either seam works:

SeamBehaviour
Quartz.Extensibility.IExecutionHistoryStorePreferred. Written by the recorder, read by the pages and served by the HTTP API
IDashboardHistoryStoreThe 4.0 seam, unchanged; adapted onto the other in both directions. Same five members, other names
  • Both feeds carry SchedulerInstanceId, so one store shared by a cluster stays readable.
  • Both have CountMisfires(name, since), which a database-backed store can answer with one COUNT(*).
  • AddQuartzDashboard no longer registers DashboardHistoryPlugin; the recorder does its work. The type still works, but registering it beside the recorder records every execution twice.

Enabling the history plugins

To also write history to the application's log, add the Quartz history plugins:

builder.AddQuartz(q =>
{
    q.UseJobHistoryLogging();
    q.UseTriggerHistoryLogging();
});

Production hardening

Policy and role-based authorization

Use an explicit policy for dashboard access, and secure API endpoints separately:

builder.Services.AddAuthorization(options =>
{
    options.AddPolicy("QuartzDashboardOps", policy =>
    {
        policy.RequireAuthenticatedUser();
        policy.RequireRole("Operations", "SchedulerAdmin");
    });
});

builder.Services.AddQuartzDashboard(options =>
{
    options.AuthorizationPolicy = "QuartzDashboardOps";
});
app.MapQuartzHttpApi().RequireAuthorization("QuartzDashboardOps");
app.MapQuartzDashboard();

With AuthorizationPolicy set, the policy covers the pages, the SignalR hub, the Blazor circuit (/_blazor) and the static asset endpoint, including under a fail-closed FallbackPolicy.

Without a policy, the dashboard adds no authorization. Startup refuses the mapping unless there is a RequireAuthorization() or AllowAnonymous() on what MapQuartzDashboard returns, or a fail-closed FallbackPolicy:

  • The static asset endpoint (_content/Quartz.Dashboard/*) and the Blazor circuit (/_blazor) explicitly allow anonymous access, so they keep working under a fail-closed FallbackPolicy. They are public package content, not what the startup check is about.
    • Known issue on .NET 11: a dashboard mapped with AllowAnonymous() under a fail-closed FallbackPolicy does not start its circuit for an unauthenticated user. ASP.NET Core 11 holds StartCircuit, an async method of Blazor's own hub, to the FallbackPolicy whatever the endpoint allows (dotnet/aspnetcore#69624). Until that is fixed, an anonymous dashboard on .NET 11 needs a host without a fail-closed FallbackPolicy.
  • The pages and the SignalR hub have no authorization metadata of their own; the host's policies govern them. Under a fail-closed FallbackPolicy, an unauthenticated request to /quartz redirects to login and authenticated users get the dashboard. To expose it to unauthenticated users, do not apply a fail-closed FallbackPolicy to the dashboard paths, or set an AuthorizationPolicy they satisfy; and write AllowAnonymous() at the map site to record the intent.

Fail-closed FallbackPolicy with MapStaticAssets()

The host's app.MapStaticAssets() (the .NET 9/10 default) and the framework script _framework/blazor.web.js are host- and framework-owned endpoints Quartz cannot annotate. A fail-closed FallbackPolicy blocks them for unauthenticated users whatever the dashboard configuration. To serve them before login (a styled login page, say), use app.MapStaticAssets().AllowAnonymous();; static web assets are public. The classic app.UseStaticFiles() middleware runs before authorization and ignores the FallbackPolicy. See API-only projects for RequiresAspNetWebAssets.

With a custom DashboardPath this does not apply to the dashboard: its framework script and static assets are then served under the dashboard path by dashboard-owned endpoints carrying the dashboard's authorization metadata.

Authorizing the agent hub

The agent hub ({DashboardPath}/agents) is a third surface, for machines, and the dashboard's own authorization does not reach it. It has two modes, stated in AcceptAgents, and a hub with neither refuses to start:

ModeSetThe agent presents
Shared secretTokens.Primary (and Secondary while rotating)DashboardAgentOptions.Token, as an Authorization: Bearer header
Host authenticationAuthorizationPolicyWhat its AccessTokenProvider hands it; the policy decides

Both set applies both. A connection with no Authorization header, or a token the hub does not hold, is aborted and logged (9111); a token in the URL is not read. A hub authenticated by token alone states AllowAnonymous to the host, so a fail-closed FallbackPolicy does not answer every agent 401; the token check runs before any hub method. See Fronting a scheduler on another machine.

One scheduler at a time

AuthorizationPolicy decides who reaches the dashboard; by default they then see every scheduler. Set SchedulerAuthorizationPolicy to authorize each scheduler separately, as IAuthorizationService.AuthorizeAsync(user, new SchedulerResource(name), policy):

  • the picker and the Schedulers page offer only schedulers the visitor passes for, and the picker refuses a value not in its rendered list;
  • a page on a refused scheduler renders a not authorized frame and reads nothing: the page is never created, so no IQuartzApiClient call is made;
  • every call through the dashboard's own IQuartzApiClient is authorized again, like ReadOnly, so a page with the wrong scheduler name is refused;
  • the live-events hub refuses to join a refused scheduler's group.

The settings compose: AuthorizationPolicy decides who is in, SchedulerAuthorizationPolicy which schedulers they see, OperationAuthorizationPolicy what they may do there, and ReadOnly bounds what anyone may change. QuartzHttpApiOptions.SchedulerAuthorizationPolicy uses the same resource, so one AuthorizationHandler<TRequirement, SchedulerResource> serves the dashboard and the HTTP API. Worked example: Multi-tenancy.

A scheduler reached through a target arrives as SchedulerResource(name) { Target = target }: the key w1/QuartzScheduler is SchedulerName = "QuartzScheduler", Target = "w1". A handler matching on the name keeps matching; one that cares which process the name was found in reads Target.

Standalone hosting is where this applies today

The not authorized frame is drawn by the dashboard's layout, which is rendered only when the dashboard owns its Blazor root (the MapQuartzDashboard() overloads without a components builder). In both hosting modes, every scheduler listing, the hub subscription and every call through the dashboard's IQuartzApiClient are filtered, so the dashboard never directs a visitor to a refused scheduler. But under an application's own layout (Integrating with an existing Blazor Server app) the frame is not drawn: an application that routes visitors to schedulers by its own means must not route them to refused ones.

Unset, the behaviour is as in earlier releases: whoever passes AuthorizationPolicy sees every scheduler.

Operator roles

From 4.8, OperationAuthorizationPolicy offers each visitor the controls of their operator role. Name a policy built with RequireSchedulerRoles:

builder.Services.AddAuthorizationBuilder()
    .AddPolicy("Operations", policy => policy.RequireAuthenticatedUser())
    .AddPolicy("QuartzOperators", policy => policy.RequireSchedulerRoles(roles =>
    {
        roles.Viewers.Add("ops-readonly");
        roles.Operators.Add("ops-oncall");
        roles.Administrators.Add("ops-admin");
    }));

builder.Services.AddQuartzDashboard(options =>
{
    // Who reaches the dashboard at all
    options.AuthorizationPolicy = "Operations";

    // What each of them may do once they are in
    options.OperationAuthorizationPolicy = "QuartzOperators";
});
ControlOperationRole
Every page, the scheduler picker, the live eventsa readView
Show logGetFireInstanceLogView
The AgendaQueryUpcomingFiresView
Pause selected, Resume selected, on the AgendaPauseTriggerKeys, ResumeTriggerKeysOperate
Start, StandbyStart, StandbyOperate
Pause all, Resume allPauseAll, ResumeAllOperate
Pause, Resume, on a job, a trigger, a group or a selectionPauseJob, ResumeJob, PauseTrigger, ResumeTrigger, PauseJobs, ResumeJobs, PauseTriggers, ResumeTriggers, PauseJobKeys, PauseTriggerKeys, ResumeTriggerKeysOperate
Trigger now, Trigger group, Run againTriggerJobOperate
InterruptInterruptJob, InterruptJobInstanceOperate
Reset error stateResetTriggerFromErrorStateOperate
BackfillBackfillTriggerOperate
Trigger with overrides, Run again with the run's inputTriggerJob with job dataAdminister
Edit detailsUpdateTriggerDetailsAdminister
Save scheduleRescheduleJobAdminister
Add trigger, DuplicateScheduleJobAdminister
Unschedule, Unschedule selectedUnscheduleJob, UnscheduleJobsAdminister
Delete a jobDeleteJobAdminister
Create, edit or replace a calendar, Delete a calendarAddCalendar, DeleteCalendarAdminister
ShutdownShutdownAdminister
  • The roles and operations are the HTTP API's; its Operator roles lists every one. Each role includes the ones below it. One policy can serve both surfaces.

  • A page renders only the controls the visitor's role allows, asked once per scheduler for the circuit. A visitor in no role sees no scheduler: the picker leaves it out, its pages draw the not authorized frame, and the live-events hub refuses its group.

  • Run again of a run that carried input needs Administer. An operator is never offered to run it without the input instead:

    WhereWhat an operator sees
    Execution pageRunning it again with its input needs Administer. in place of Run again
    History row whose listing carries the inputNo Run again
    History row whose input is read on pressA warning toast with the same reason. Nothing is sent, so the Action Log has no entry
  • Every call through the dashboard's own IQuartzApiClient is checked, like ReadOnly, before anything reaches the scheduler. A refused call raises UnauthorizedAccessException; the page shows a toast, the Action Log records the action as Refused, and the application's log has event 9118.

  • ReadOnly stays the ceiling: an administrator of a read-only dashboard reads.

  • A visitor's rights on a scheduler are the lower of their role and the scheduler's own bound. An agent's MaxAccess hides what the agent would refuse. An HTTP target applies its own OperationAuthorizationPolicy to the dashboard's credential, and its 403 is a toast.

  • The visitor's identity is not forwarded: an agent or an HTTP target sees the dashboard, not the visitor.

  • The HTTP API through the dashboard host, and MCP, ask the same policy with the same resource, its Target set, so one policy decides every surface.

  • The dashboard asks seeing a scheduler as SchedulerResource(name) { Access = View }, with no Operation, and each change with the operation's name and level.

Unset, every visitor may do everything ReadOnly allows, as in earlier releases.

Auditing every change

From 4.10, an IOperatorActionAuditor is asked before every change an operator makes, and told how it ended: through the dashboard, the HTTP API and MCP alike, in the operator's scope. Register any number; none is registered by default, and without one nothing is asked.

// database: your provider, as in options => options.UseSqlServer(connectionString)
builder.Services.AddDbContextFactory<AuditDbContext>(database);
builder.Services.AddScoped<IOperatorActionAuditor, DatabaseAuditor>();
MemberCalledIt may
Authorize(action)After ReadOnly and the operation policy, before the schedulerRefuse with a reason, or name the requester with Allow(requestedBy)
Record(action, outcome)Once the change ended, and once a role refused oneWrite the record: Done, NotApplied, Refused or Failed
  • The action is who (User, and on MCP the Client as stated), through what (Channel), the operation by its route's name (PauseJob, as SchedulerResource.Operation), the role it needs (Access), the scheduler (SchedulerName, Target), and what it names: Jobs, Triggers, the Group filter, CalendarName, FireInstanceId. A selection is one action naming every key. A pause carries its Reason.
  • RequestedBy is who a run, a backfill or a pause records as having asked: the visitor here, the body's requestedBy or the caller on the HTTP API, <user> via MCP on MCP. Allow("audit:7") records audit:7 instead, so the run or the pause leads back to the audit entry. Record gets the action with it. A refused action reaches Record with the requester as asked, not one an auditor allowed: an HTTP caller can send requestedBy: "audit:3", so an auditor that finds its entry by it checks the entry is still open and this action's, as the sample does.
  • Each auditor is asked in registration order, and the first refusal wins. Every auditor is told how the action ended, the refusal included.
  • A refusal looks like a role's: the toast and the Action Log entry say Not authorized for PauseJob on scheduler 'acme': {reason}, the entry is Refused, and event 9119 is logged. Controls are drawn from the role alone, so a button an auditor refuses is offered, and refused when pressed.
  • An auditor that throws in Authorize refuses the change: the audit could not be written, event 9120. One that throws in Record changes nothing the visitor was told: a warning toast says how the change ended and what it was done to (The action on trigger reports.nightly changed nothing, and the application's audit could not record it.), and event 9121 is logged. Warnings and errors stay ten seconds, other toasts four.
  • Record's token ends with the host, not with the visitor's circuit: a closed tab is still recorded.
  • Reads never reach an auditor, nor does a change ReadOnly refuses.
  • No hook joins the scheduler's transaction: the store makes the change, often in another process. For audit that must not miss a change, write the intent in Authorize, so that a failed write refuses, and complete it in Record:
public sealed class AuditEntry
{
    public long Id { get; set; }

    public required string User { get; set; }

    public required string Operation { get; set; }

    public required string Scheduler { get; set; }

    public DateTimeOffset AskedAtUtc { get; set; }

    // Null until the change has ended
    public string? Result { get; set; }

    public string? Message { get; set; }
}

public sealed class AuditDbContext(DbContextOptions<AuditDbContext> options) : DbContext(options)
{
    public DbSet<AuditEntry> Entries => Set<AuditEntry>();
}

public sealed class DatabaseAuditor(
    IDbContextFactory<AuditDbContext> contexts,
    IHostEnvironment environment,
    TimeProvider time) : IOperatorActionAuditor
{
    private const string Prefix = "audit:";

    public async ValueTask<OperatorActionDecision> Authorize(OperatorAction action, CancellationToken cancellationToken = default)
    {
        // A shared account names nobody
        if (environment.IsProduction() && action.User.IsInRole("shared-account"))
        {
            return OperatorActionDecision.Refuse("a shared account may not change production; sign in as yourself");
        }

        // Over the HTTP API, requestedBy is the caller's word: hold it to who called. A dashboard calling this
        // host names its visitor, so its own credential may name somebody else.
        if (action.Channel == OperatorChannel.HttpApi
            && action.RequestedBy is { } named
            && named != action.User.Identity?.Name
            && !action.User.IsInRole("quartz-dashboard"))
        {
            return OperatorActionDecision.Refuse("name yourself as the requester");
        }

        // The intent, before the change. If this throws, the change is refused.
        await using AuditDbContext db = await contexts.CreateDbContextAsync(cancellationToken);
        AuditEntry entry = Entry(action);
        db.Entries.Add(entry);
        await db.SaveChangesAsync(cancellationToken);

        // A run or a pause records this as its requester, which leads back to the entry
        return OperatorActionDecision.Allow(Prefix + entry.Id);
    }

    public async ValueTask Record(OperatorAction action, OperatorActionOutcome outcome, CancellationToken cancellationToken = default)
    {
        await using AuditDbContext db = await contexts.CreateDbContextAsync(cancellationToken);

        // On a refusal the requester is the one asked for, which a caller may have spelled like an entry's id.
        // So the intent written above is completed only while it is open and this action's.
        AuditEntry? entry = action.RequestedBy is { } requester
                            && requester.StartsWith(Prefix, StringComparison.Ordinal)
                            && long.TryParse(requester.AsSpan(Prefix.Length), out long id)
            ? await db.Entries.FindAsync([id], cancellationToken)
            : null;

        if (entry is null || !IsOpenFor(entry, action))
        {
            entry = Entry(action);
            db.Entries.Add(entry);
        }

        entry.Result = outcome.Result.ToString();
        entry.Message = outcome.Message;
        await db.SaveChangesAsync(cancellationToken);
    }

    private static bool IsOpenFor(AuditEntry entry, OperatorAction action) =>
        entry.Result is null
        && entry.User == UserOf(action)
        && entry.Operation == action.Operation
        && entry.Scheduler == action.SchedulerName;

    private static string UserOf(OperatorAction action) => action.User.Identity?.Name ?? "(anonymous)";

    private AuditEntry Entry(OperatorAction action) => new()
    {
        User = UserOf(action),
        Operation = action.Operation,
        Scheduler = action.SchedulerName,
        AskedAtUtc = time.GetUtcNow(),
    };
}
  • The circuit's scope lives as long as the browser tab. Take an IDbContextFactory<T>, not a scoped DbContext.
  • A change to a scheduler in another process is audited here, where the operator is. Behind an HTTP target it is audited again by that host's auditors, which see the dashboard's credential as User and the operator in RequestedBy. An agent's host is not asked: the agent applies the change itself.
  • The Action Log stays, and says under its title that every action is also handed to the application's audit.

Read-only mode

ReadOnly = true hides every mutating control: pause, resume, trigger-now, trigger-with-overrides, reschedule, edit details, reset-from-error-state, unschedule, interrupt, delete, the listings' and the Agenda's selection checkboxes, calendar create, edit and replace, and the scheduler's start, stand-by, pause-all, resume-all and shutdown. Every listing, filter, detail page and live view remains, Currently Executing's Show log and the Agenda among them.

  • It is one setting per process, not per scheduler or per visitor. For different powers per visitor, use operator roles, under which ReadOnly is the ceiling. SchedulerAuthorizationPolicy limits which schedulers each visitor sees.
  • It does not affect the HTTP API, which is mapped and authorized separately. A read-only dashboard over an API anyone may post to is read-only in appearance only. QuartzHttpApiOptions.ReadOnly refuses every mutating API route, and binds a dashboard fronting the API from another process.

Narrowing which job types may be named

IsJobTypeAllowed refuses one kind of write. Adding or scheduling a job through the dashboard's IQuartzApiClient names the job type as a string, so a visitor who may write can name any IJob, including NativeJob (which starts the executable its job data names) when Quartz.Jobs is on the probing path:

services.AddQuartzDashboard(options =>
{
    // The predicate sees the job type name as it was written, so a namespace prefix covers
    // every spelling of the same type. The HTTP API takes the same predicate under
    // QuartzHttpApiOptions.IsJobTypeAllowed; the two surfaces are configured separately.
    options.IsJobTypeAllowed = jobType => jobType.StartsWith("Acme.Jobs.", StringComparison.Ordinal);
});
  • A refused name raises UnauthorizedAccessException, as a refused scheduler does.
  • It is enforced in the client, which every call goes through, like ReadOnly.
  • The predicate gets the name as written; nothing resolves it, since the dashboard stores job type names unresolved, like the HTTP API. Prefer a namespace prefix to exact names: Acme.Jobs.Nightly, Acme.Jobs and the same name with Version, Culture and PublicKeyToken are the same type.
  • It does not cover the HTTP API. Set QuartzHttpApiOptions.IsJobTypeAllowed for that surface too when serving both.

Browser security headers are the host's

Quartz sets no CORS policy and no browser security headers. ASP.NET Core sends no Access-Control-Allow-Origin unless asked, so the API is same-origin by default. But the dashboard is framable, and its mutating controls are one confirm dialog away: a page framing an authenticated operator's dashboard can drive a two-click sequence. Send the header your other admin surfaces send:

app.Use(async (context, next) =>
{
    context.Response.Headers["X-Frame-Options"] = "DENY";
    context.Response.Headers["Content-Security-Policy"] = "frame-ancestors 'none'";
    await next();
});

app.UseAntiforgery() in the setup above is also the application's call; MapRazorComponents requires it.

API key or custom authorization checks

For machine-to-machine access, bind your API auth scheme (an API key handler, say) to a policy used by MapQuartzHttpApi(). For dashboard-only custom checks, use ASP.NET Core policy/handler-based authorization, so the UI, hub and API are enforced consistently.

Deployment guidance for multi-scheduler and clustered setups

  • Clustered ADO.NET job stores: dashboard actions are scheduler operations that can affect the cluster; restrict them with operator roles.
  • Many local schedulers in one host: the picker lists every registered scheduler; use clear, environment-specific names. For tenants, SchedulerAuthorizationPolicy keeps them apart; see Multi-tenancy.
  • Reverse proxy and Blazor Server: enable WebSocket/SignalR forwarding, and sticky sessions where your hosting stack requires them. The circuit connects to /_blazor (or {DashboardPath}/_blazor with a custom DashboardPath).
  • Split operator experiences: one dashboard with operator roles for viewers, operators and administrators, or a read-only dashboard (ReadOnly = true) beside a write-enabled one.
  • Operational retention: the built-in history store is per-process and in-memory, bounded by ExecutionHistoryOptions, so each cluster node keeps its own. Rows name their node, so a shared IDashboardHistoryStore gives one page over the whole fleet. Use external retention or reporting for long-term analytics.

What authorization does not narrow

Both limits match the HTTP API's.

  • A visitor who passes is trusted with everything their role allows, and every role reads everything. The narrowings are ReadOnly (process-wide), SchedulerAuthorizationPolicy (which schedulers) and OperationAuthorizationPolicy (which operations). Without the last, a visitor who may write may trigger, pause, reschedule, unschedule, interrupt, delete and shut down. Any visitor who may view reads every job's data map and every exception message in the history. Authorize the dashboard as you would a shell on the machine.

A data map is not a secret store

Every page that shows a data map shows its values in plain text:

  • Job Detail shows the job's map, and Trigger Detail the trigger's, to any visitor who may view the scheduler.
  • The Trigger with overrides form and Edit details show the same values pre-filled, to Administer only.
  • The execution page shows the run's input to any visitor who may view the scheduler, when RecordInput is on.

Keep secrets in IConfiguration, a key vault or the container, and put a name in the map if a job needs to find one.

  • There is no rate limiting. ASP.NET Core's rate limiter middleware applies as to any endpoint; Quartz configures none.

Integrating with an existing Blazor Server app

If the host already uses Blazor Server (MapRazorComponents<App>().AddInteractiveServerRenderMode()), use the MapQuartzDashboard overload that takes its RazorComponentsEndpointConventionBuilder. This avoids a second /_blazor SignalR endpoint, which would conflict.

builder.Services.AddRazorComponents().AddInteractiveServerComponents();
builder.Services.AddQuartzDashboard();
app.UseAntiforgery();

RazorComponentsEndpointConventionBuilder blazor = app.MapRazorComponents<App>()
    .AddInteractiveServerRenderMode();

app.MapQuartzHttpApi().RequireAuthorization();
app.MapQuartzDashboard(blazor).RequireAuthorization();

AddAdditionalAssemblies registers the dashboard's pages into the host's endpoints, and its JavaScript arrives as a Blazor JS initializer, so App.razor needs no <script> tag. The dashboard's layout is not applied: the pages render under the application's own layout, without the dashboard's sidebar and header, or the stylesheet that layout adds. So the Back to … link and the Served by foot are not drawn; see What integrated hosting changes.

The host's interactive router needs the dashboard's assembly too. Add it to AdditionalAssemblies of the <Router> in Routes.razor:

<Router AppAssembly="typeof(App).Assembly"
        AdditionalAssemblies="new[] { typeof(Quartz.Dashboard.Components.QuartzDashboardApp).Assembly }">
    ...
</Router>

Without it, the dashboard renders on the first request, then the app's not-found page replaces it once the circuit starts.

Warning

Do not call the parameterless MapQuartzDashboard() beside your own MapRazorComponents: that registers two /_blazor endpoints and the dashboard's interactive pages fail.

What integrated hosting changes

Everything else on this page applies to both modes.

Standalone (MapQuartzDashboard())Integrated (MapQuartzDashboard(blazor))
DashboardPathHonoured; the dashboard is self-contained under itRejected: routes fixed at /quartz; a custom path fails startup
Blazor circuit and framework assetsDashboard-owned endpoints with the dashboard's authorization metadataThe host's: a fail-closed FallbackPolicy governs them; AllowAnonymous on static assets is your call
The not authorized frameDrawnNot drawn; see One scheduler at a time
The sidebar's Back to … link and Served by footDrawn, the link with ApplicationPathNot drawn: the application's layout is the frame. ApplicationName still ends the tab titles, and the pages still say which process or node they show

In both modes, every scheduler listing and hub subscription is filtered by SchedulerAuthorizationPolicy, so the dashboard never offers a refused scheduler. The gap is only an application routing a visitor to one by its own means.

API-only projects (no .razor files)

A host project with no .razor files of its own (a pure API project, say) must add:

<PropertyGroup>
  <RequiresAspNetWebAssets>true</RequiresAspNetWebAssets>
</PropertyGroup>

This makes the SDK include the Blazor framework scripts (_framework/blazor.web.js, blazor.server.js) in the app's static web assets. Without it, /_framework/blazor.web.js returns HTTP 404: as of .NET 10 these files are static web assets, no longer embedded in the ASP.NET Core assemblies.

The third symptom: an empty 200

A missing MapStaticAssets() or RequiresAspNetWebAssets shows as 404. A third failure looks like success: every static asset answers 200 with Content-Length: 0.

/_framework/blazor.web.js       200   0 bytes
/_framework/blazor.server.js    200   0 bytes
/YourApp.styles.css             200   0 bytes

The pages return 200 and prerender, but never become interactive: the circuit has no script. The only clue is a startup warning:

warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
      The WebRootPath was not found: ...\wwwroot. Static files may be unavailable.

Cause (ASP.NET Core, not Quartz): the static web assets manifest is resolved for an unpublished build only in the Development environment. The same build with no ASPNETCORE_ENVIRONMENT (so Production) has the endpoints, resolving to nothing. Either fix works:

  • run in Development (dotnet run with the project's launch profile normally does);
  • dotnet publish and run the published output, as a deployment does.

In practice it is a local trap: an unpublished build started with dotnet run --no-launch-profile, or from a shell without ASPNETCORE_ENVIRONMENT.

Current limitations

  • One HTTP target is one process: one registration is one address; see Fronting a scheduler in another process over HTTP. A fleet is fronted as one by giving each process a Target, and nodes on one clustered store are shown as one cluster; per-target credentials are the targets' own HttpClients. For a cluster behind a load balancer, use a store-attached target. A process that dials out to the dashboard instead of being dialed is an agent.
  • A dashboard that accepts agents runs as one instance: the hub keeps its registrations in the process that accepted them, so a dashboard scaled out behind a load balancer shows each agent on the instance it dialled.
  • Cluster failover is per detection round: the member the store-backed calls go to is re-elected every ClusterDetectionInterval, and a member that dies between rounds answers with its error until then.
  • A store-attached target cannot do anything node-local, and its liveness is inferred; see What a window can and cannot do.
  • A running firing's log is read only from the node running it: through the target fronting that node, never a window, and only from a scheduler that calls UseExecutionLogCapture(). See Following a running firing's log.
  • Neither Live Logs nor the Action Log is the record. Live Logs keeps a hundred events from page open; the Action Log keeps 250 from this process's dashboard. Neither survives a restart or is lossless; use metrics for anything you need to go back to. The ILogger copy of Action Log entries does survive. For a durable record of every change, register an auditor.
  • The Timeline reads at most 500 runs, and its name filter at most 500 triggers. A window with more runs shows the latest 500 and says so. The name filter's trigger-name matches stop at 500, so some may be missing; its job-name matches are not capped. See Timeline.
  • The Agenda lists at most 1,000 fires, over a window of at most 7 days and at most 10,000 due triggers, and says where a cap cuts it. It lists the schedules' times: misfire handling, blocking, execution-group limits, standby and which node fires are not simulated. See Agenda.
  • History is in-memory and per-process by default, so a dashboard attached to a cluster shows an empty History page. On a persistent store, UsePersistentStore(store => store.UseExecutionHistory()) makes every node write to QRTZ_EXECUTION_HISTORY and QRTZ_MISFIRE_HISTORY. A scheduler on the in-memory job store has no database for history; see Execution history and misfires.
  • Read-only is one setting per process. What each visitor may do is their operator role, and which schedulers they see is One scheduler at a time. "acme may look, globex may act" needs an OperationAuthorizationPolicy handler of your own, which reads both the scheduler and the operation from SchedulerResource.
  • The misfire tile and Cluster page show what the store can answer: a dash for no misfire feed, one node for a store with no check-in state. Neither is a count of zero.
  • Typed editors are narrow: job-data overrides, from 4.3 a trigger's details and, from 4.9, triggers of the five built-in kinds for a stored job and calendars of the six built-in types. A job is never created from the UI, a trigger of a type of your own is not rescheduled, and a calendar's base calendars are kept rather than edited.
  • It is a scheduler console, not a workflow tool. Job dependencies, DAGs and business-process visualisation are outside what Quartz models.
Help us by improving this page!
Last Updated: 12/2/26, 10:34 AM
Contributors: Marko Lahma, Claude Opus 5.5
Prev
HTTP Client
Next
Dashboard Agent