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.
.NET 10.0
- Quartz.Extensions.Hosting (>= 3.20.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.0)
.NET 8.0
- Quartz.Extensions.Hosting (>= 3.20.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
.NET 9.0
- Quartz.Extensions.Hosting (>= 3.20.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.0)
.NET Standard 2.0
- Quartz.Extensions.Hosting (>= 3.20.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.1)
| Version | Downloads | Last updated |
|---|---|---|
| 4.2.2 | 0 | 09/28/2026 |
| 4.2.1 | 0 | 09/27/2026 |
| 4.2.0 | 0 | 09/25/2026 |
| 4.1.1 | 1 | 09/21/2026 |
| 4.1.0 | 1 | 09/21/2026 |
| 4.0.1 | 1 | 09/21/2026 |
| 4.0.0 | 1 | 09/21/2026 |
| 4.0.0-rc.2 | 1 | 09/21/2026 |
| 4.0.0-rc.1 | 1 | 09/21/2026 |
| 4.0.0-beta.1 | 1 | 09/21/2026 |
| 4.0.0-alpha.5 | 1 | 09/21/2026 |
| 4.0.0-alpha.4 | 1 | 09/21/2026 |
| 4.0.0-alpha.3 | 1 | 09/21/2026 |
| 4.0.0-alpha.2 | 1 | 09/21/2026 |
| 4.0.0-alpha.1 | 1 | 09/21/2026 |
| 3.22.0 | 1 | 09/21/2026 |
| 3.21.0 | 1 | 09/21/2026 |
| 3.20.1 | 1 | 09/21/2026 |
| 3.20.0 | 1 | 09/21/2026 |
| 3.19.1 | 1 | 09/21/2026 |
| 3.19.0 | 1 | 09/21/2026 |
| 3.18.2 | 2 | 07/24/2026 |
| 3.18.1 | 6 | 04/26/2026 |
| 3.18.0 | 6 | 04/26/2026 |
| 3.17.1 | 6 | 04/26/2026 |
| 3.17.0 | 6 | 04/26/2026 |
| 3.16.1 | 8 | 03/13/2026 |
| 3.16.0 | 7 | 03/03/2026 |
| 3.15.1 | 8 | 01/16/2026 |
| 3.15.0 | 9 | 09/14/2025 |
| 3.14.0 | 12 | 03/12/2025 |
| 3.13.1 | 12 | 03/12/2025 |
| 3.13.0 | 12 | 03/12/2025 |
| 3.12.0 | 12 | 03/12/2025 |
| 3.11.0 | 12 | 03/12/2025 |
| 3.10.0 | 12 | 03/12/2025 |
| 3.9.0 | 13 | 03/12/2025 |
| 3.8.1 | 13 | 03/12/2025 |
| 3.8.0 | 13 | 03/12/2025 |
| 3.7.0 | 13 | 03/12/2025 |
| 3.6.3 | 13 | 03/12/2025 |
| 3.6.2 | 13 | 03/12/2025 |
| 3.6.1 | 13 | 03/12/2025 |
| 3.6.0 | 13 | 03/12/2025 |
| 3.5.0 | 13 | 03/12/2025 |
| 3.4.0 | 13 | 03/12/2025 |
| 3.3.3 | 15 | 01/23/2025 |
| 3.3.2 | 13 | 03/12/2025 |
| 3.3.1 | 13 | 03/12/2025 |
| 3.3.0 | 13 | 03/12/2025 |
| 3.2.4 | 13 | 03/12/2025 |
| 3.2.3 | 13 | 03/12/2025 |
| 3.2.2 | 13 | 03/12/2025 |
| 3.2.1 | 13 | 03/12/2025 |
| 3.2.0 | 13 | 03/12/2025 |
| 3.1.0 | 13 | 03/12/2025 |
| 1.0.4 | 13 | 03/12/2025 |
| 1.0.1 | 13 | 03/12/2025 |
| 1.0.0 | 13 | 03/12/2025 |