Quartz.AspNetCore 3.13.1
Quartz.AspNetCore provides integration with ASP.NET Core hosted services.
If you only need the generic host, generic host integration might suffice.
Installation
You need to add NuGet package reference to your project which uses Quartz.
Install-Package Quartz.AspNetCore
Using
You can add Quartz configuration by invoking an extension method AddQuartzServer
on IServiceCollection
.
This will add a hosted quartz server into ASP.NET Core process that will be started and stopped based on applications lifetime.
See Quartz.Extensions.DependencyInjection documentation to learn more about configuring Quartz scheduler, jobs and triggers.
Example Startup.ConfigureServices configuration
public void ConfigureServices(IServiceCollection services)
{
services.AddQuartz(q =>
{
// base quartz scheduler, job and trigger configuration
});
// ASP.NET Core hosting
services.AddQuartzServer(options =>
{
// when shutting down we want jobs to complete gracefully
options.WaitForJobsToComplete = true;
});
}
No packages depend on Quartz.AspNetCore.
https://github.com/quartznet/quartznet/releases
.NET 6.0
- Quartz.Extensions.Hosting (>= 3.13.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.0)
.NET 8.0
- Quartz.Extensions.Hosting (>= 3.13.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
.NET Standard 2.0
- Quartz.Extensions.Hosting (>= 3.13.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.1)
Version | Downloads | Last updated |
---|---|---|
3.13.1 | 3 | 11/13/2024 |
3.13.0 | 3 | 12/06/2024 |
3.12.0 | 4 | 11/30/2024 |
3.11.0 | 3 | 12/03/2024 |
3.10.0 | 4 | 12/02/2024 |
3.9.0 | 3 | 12/03/2024 |
3.8.1 | 12 | 04/06/2024 |
3.8.0 | 4 | 11/13/2024 |
3.7.0 | 3 | 11/30/2024 |
3.6.3 | 2 | 11/11/2024 |
3.6.2 | 9 | 05/06/2023 |
3.6.1 | 11 | 06/11/2023 |
3.6.0 | 4 | 12/02/2024 |
3.5.0 | 3 | 12/15/2024 |
3.4.0 | 12 | 07/05/2022 |
3.3.3 | 12 | 06/11/2023 |
3.3.2 | 12 | 06/11/2023 |
3.3.1 | 2 | 12/09/2024 |
3.3.0 | 8 | 06/11/2023 |
3.2.4 | 13 | 06/11/2023 |
3.2.3 | 2 | 12/08/2024 |
3.2.2 | 10 | 06/11/2023 |
3.2.1 | 4 | 11/14/2024 |
3.2.0 | 8 | 06/11/2023 |
3.1.0 | 4 | 12/02/2024 |
1.0.4 | 4 | 12/02/2024 |
1.0.1 | 1 | 12/08/2024 |
1.0.0 | 4 | 12/12/2024 |