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.
.NET 10.0
- Quartz.Extensions.Hosting (>= 3.18.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.0)
.NET 8.0
- Quartz.Extensions.Hosting (>= 3.18.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
.NET 9.0
- Quartz.Extensions.Hosting (>= 3.18.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.0)
.NET Standard 2.0
- Quartz.Extensions.Hosting (>= 3.18.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.1)
| Version | Downloads | Last updated |
|---|---|---|
| 3.18.2 | 14 | 06/28/2026 |
| 3.18.1 | 30 | 04/27/2026 |
| 3.18.0 | 34 | 04/17/2026 |
| 3.17.1 | 25 | 04/17/2026 |
| 3.17.0 | 26 | 04/17/2026 |
| 3.16.1 | 23 | 04/17/2026 |
| 3.16.0 | 26 | 04/17/2026 |
| 3.15.1 | 25 | 04/17/2026 |
| 3.15.0 | 25 | 04/17/2026 |
| 3.14.0 | 24 | 04/17/2026 |
| 3.13.1 | 23 | 04/17/2026 |
| 3.13.0 | 27 | 04/17/2026 |
| 3.12.0 | 28 | 04/17/2026 |
| 3.11.0 | 27 | 04/17/2026 |
| 3.10.0 | 23 | 04/17/2026 |
| 3.9.0 | 25 | 04/17/2026 |
| 3.8.1 | 30 | 04/17/2026 |
| 3.8.0 | 19 | 04/17/2026 |
| 3.7.0 | 28 | 04/17/2026 |
| 3.6.3 | 31 | 04/17/2026 |
| 3.6.2 | 29 | 04/17/2026 |
| 3.6.1 | 18 | 04/17/2026 |
| 3.6.0 | 26 | 04/17/2026 |
| 3.5.0 | 25 | 04/17/2026 |
| 3.4.0 | 20 | 04/17/2026 |
| 3.3.3 | 25 | 04/17/2026 |
| 3.3.2 | 26 | 04/17/2026 |
| 3.3.1 | 27 | 04/17/2026 |
| 3.3.0 | 21 | 04/17/2026 |
| 3.2.4 | 26 | 04/17/2026 |
| 3.2.3 | 27 | 04/17/2026 |
| 3.2.2 | 23 | 04/17/2026 |
| 3.2.1 | 27 | 04/17/2026 |
| 3.2.0 | 24 | 04/17/2026 |
| 3.1.0 | 29 | 04/17/2026 |
| 1.0.4 | 28 | 04/17/2026 |
| 1.0.1 | 24 | 04/17/2026 |
| 1.0.0 | 31 | 04/17/2026 |