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/04/2024 |
3.13.0 | 5 | 08/10/2024 |
3.12.0 | 7 | 08/13/2024 |
3.11.0 | 7 | 07/12/2024 |
3.10.0 | 5 | 07/18/2024 |
3.9.0 | 6 | 05/26/2024 |
3.8.1 | 9 | 03/10/2024 |
3.8.0 | 12 | 11/29/2023 |
3.7.0 | 14 | 09/11/2023 |
3.6.3 | 8 | 06/28/2023 |
3.6.2 | 28 | 05/17/2023 |
3.6.1 | 43 | 05/10/2023 |
3.6.0 | 10 | 05/17/2023 |
3.5.0 | 12,054 | 09/27/2022 |
3.4.0 | 62 | 06/27/2022 |
3.3.3 | 11,222 | 06/27/2022 |
3.3.2 | 29 | 08/28/2022 |
3.3.1 | 57 | 08/28/2022 |
3.3.0 | 30 | 08/28/2022 |
3.2.4 | 31 | 08/28/2022 |
3.2.3 | 28 | 08/28/2022 |
3.2.2 | 23 | 09/07/2022 |
3.2.1 | 42 | 08/28/2022 |
3.2.0 | 32 | 08/28/2022 |
3.1.0 | 24 | 08/28/2022 |
1.0.4 | 42 | 08/29/2022 |
1.0.1 | 32 | 08/28/2022 |
1.0.0 | 58 | 08/22/2022 |