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 | 6 | 11/04/2024 |
3.13.0 | 6 | 08/10/2024 |
3.12.0 | 8 | 08/13/2024 |
3.11.0 | 8 | 07/12/2024 |
3.10.0 | 6 | 07/18/2024 |
3.9.0 | 8 | 05/26/2024 |
3.8.1 | 10 | 03/10/2024 |
3.8.0 | 13 | 11/29/2023 |
3.7.0 | 15 | 09/11/2023 |
3.6.3 | 10 | 06/28/2023 |
3.6.2 | 30 | 05/17/2023 |
3.6.1 | 47 | 05/10/2023 |
3.6.0 | 12 | 05/17/2023 |
3.5.0 | 12,165 | 09/27/2022 |
3.4.0 | 64 | 06/27/2022 |
3.3.3 | 11,314 | 06/27/2022 |
3.3.2 | 30 | 08/28/2022 |
3.3.1 | 58 | 08/28/2022 |
3.3.0 | 31 | 08/28/2022 |
3.2.4 | 32 | 08/28/2022 |
3.2.3 | 30 | 08/28/2022 |
3.2.2 | 27 | 09/07/2022 |
3.2.1 | 43 | 08/28/2022 |
3.2.0 | 33 | 08/28/2022 |
3.1.0 | 25 | 08/28/2022 |
1.0.4 | 43 | 08/29/2022 |
1.0.1 | 33 | 08/28/2022 |
1.0.0 | 60 | 08/22/2022 |