Quartz.AspNetCore 3.18.2

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.

Version Downloads Last updated
3.19.1 0 26.07.2026
3.19.0 0 24.07.2026
3.18.2 1 20.07.2026
3.18.1 8 26.04.2026
3.18.0 18 11.04.2026
3.17.1 22 05.04.2026
3.17.0 4 31.03.2026
3.16.1 5 14.03.2026
3.16.0 6 14.03.2026
3.15.1 10 10.11.2025
3.15.0 11 16.09.2025
3.14.0 22 14.03.2025
3.13.1 23 02.12.2024
3.13.0 61 16.08.2024
3.12.0 20 04.08.2024
3.11.0 19 22.07.2024
3.10.0 23 28.06.2024
3.9.0 23 13.05.2024
3.8.1 19 26.06.2024
3.8.0 19 16.12.2024
3.7.0 17 17.08.2024
3.6.3 17 16.12.2024
3.6.2 18 28.01.2025
3.6.1 18 23.01.2025
3.6.0 18 16.01.2025
3.5.0 19 30.12.2024
3.4.0 19 27.07.2024
3.3.3 18 16.01.2025
3.3.2 18 27.01.2025
3.3.1 20 28.07.2024
3.3.0 20 27.07.2024
3.2.4 18 27.07.2024
3.2.3 19 27.07.2024
3.2.2 21 27.07.2024
3.2.1 20 16.01.2025
3.2.0 15 27.07.2024
3.1.0 18 12.01.2025
1.0.4 17 24.01.2025
1.0.1 18 16.01.2025
1.0.0 21 28.07.2024