Quartz.AspNetCore 3.20.1

Quartz.AspNetCore

Quartz.AspNetCore provides ASP.NET Core hosted service integration for Quartz.NET, running a scheduler that starts and stops with the application lifetime.

Tip: If you only need the generic host, Quartz.Extensions.Hosting may be enough.

Installation

dotnet add package Quartz.AspNetCore

Usage

Register the scheduler with AddQuartzServer:

services.AddQuartz(q =>
{
    // scheduler, job and trigger configuration
});

services.AddQuartzServer(options =>
{
    // wait for jobs to complete gracefully on shutdown
    options.WaitForJobsToComplete = true;
});

See the Microsoft DI integration docs for configuring jobs and triggers.

Health checks

On target frameworks with health check support, AddQuartzServer also registers an ASP.NET Core health check named quartz-scheduler that reports unhealthy when the scheduler is not running or cannot reach its store. Attach tags to filter it into separate liveness/readiness probes:

services.AddQuartzServer(
    options => options.WaitForJobsToComplete = true,
    healthCheckTags: ["ready", "live"]);

Documentation

📖 Full documentation: https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/aspnet-core-integration.html

No packages depend on Quartz.AspNetCore.

https://github.com/quartznet/quartznet/releases

Version Downloads Last updated
4.1.0 0 09/13/2026
4.0.1 5 09/10/2026
4.0.0 7 09/04/2026
4.0.0-rc.2 7 09/04/2026
4.0.0-rc.1 5 09/04/2026
4.0.0-beta.1 6 09/04/2026
4.0.0-alpha.5 6 09/01/2026
4.0.0-alpha.4 5 09/03/2026
4.0.0-alpha.3 9 08/27/2026
4.0.0-alpha.2 7 08/25/2026
4.0.0-alpha.1 9 08/23/2026
3.22.0 0 09/13/2026
3.21.0 4 09/11/2026
3.20.1 6 09/04/2026
3.20.0 9 08/28/2026
3.19.1 22 07/28/2026
3.19.0 16 07/24/2026
3.18.2 27 06/28/2026
3.18.1 43 04/27/2026
3.18.0 48 04/17/2026
3.17.1 38 04/17/2026
3.17.0 39 04/17/2026
3.16.1 38 04/17/2026
3.16.0 37 04/17/2026
3.15.1 37 04/17/2026
3.15.0 36 04/17/2026
3.14.0 37 04/17/2026
3.13.1 31 04/17/2026
3.13.0 40 04/17/2026
3.12.0 37 04/17/2026
3.11.0 37 04/17/2026
3.10.0 34 04/17/2026
3.9.0 38 04/17/2026
3.8.1 40 04/17/2026
3.8.0 30 04/17/2026
3.7.0 39 04/17/2026
3.6.3 41 04/17/2026
3.6.2 40 04/17/2026
3.6.1 26 04/17/2026
3.6.0 37 04/17/2026
3.5.0 36 04/17/2026
3.4.0 29 04/17/2026
3.3.3 36 04/17/2026
3.3.2 38 04/17/2026
3.3.1 38 04/17/2026
3.3.0 30 04/17/2026
3.2.4 38 04/17/2026
3.2.3 39 04/17/2026
3.2.2 36 04/17/2026
3.2.1 39 04/17/2026
3.2.0 37 04/17/2026
3.1.0 41 04/17/2026
1.0.4 41 04/17/2026
1.0.1 37 04/17/2026
1.0.0 42 04/17/2026