Quartz.AspNetCore 3.8.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

Version Downloads Last updated
3.8.1 2 03/10/2024
3.8.0 6 11/29/2023
3.7.0 8 09/11/2023
3.6.3 5 06/28/2023
3.6.2 20 05/17/2023
3.6.1 33 05/10/2023
3.6.0 6 05/17/2023
3.5.0 10,931 09/27/2022
3.4.0 42 06/27/2022
3.3.3 10,300 06/27/2022
3.3.2 20 08/28/2022
3.3.1 47 08/28/2022
3.3.0 24 08/28/2022
3.2.4 20 08/28/2022
3.2.3 19 08/28/2022
3.2.2 17 09/07/2022
3.2.1 33 08/28/2022
3.2.0 23 08/28/2022
3.1.0 17 08/28/2022
1.0.4 35 08/29/2022
1.0.1 23 08/28/2022
1.0.0 45 08/22/2022