Quartz.Extensions.DependencyInjection 3.18.2

Quartz.Extensions.DependencyInjection

Quartz.Extensions.DependencyInjection provides Microsoft Dependency Injection integration for Quartz.NET, wrapping the configuration properties with a strongly-typed API.

Note: Quartz 3.1 or later required.

Installation

dotnet add package Quartz.Extensions.DependencyInjection

Usage

Configure Quartz with AddQuartz. Configuration can come from code and/or the Quartz section of appsettings.json:

services.AddQuartz(q =>
{
    var jobKey = new JobKey("awesome job", "awesome group");

    q.AddJob<ExampleJob>(jobKey, j => j.WithDescription("my awesome job"));

    q.AddTrigger(t => t
        .ForJob(jobKey)
        .WithIdentity("Cron Trigger")
        .WithCronSchedule("0/3 * * * * ?"));
});

Read hierarchical JSON configuration with the IConfiguration overload:

services.AddQuartz(Configuration.GetSection("Quartz"), q =>
{
    // additional code-based configuration
});

Note: As of Quartz.NET 3.7 all jobs are created as scoped and MS DI is configured by default — there is no need to call the UseMicrosoftDependencyInjection* overloads. By default Quartz resolves the job type from the container, falling back to ActivatorUtilities (the job should have a single public constructor).

Warning: With persistent job stores, always declare explicit job and trigger names so existence checks work correctly across application restarts.

Pair this with Quartz.Extensions.Hosting (or Quartz.AspNetCore) to manage the scheduler lifecycle, and see Multiple Schedulers for hosting several schedulers in one app.

Documentation

📖 Full documentation, including defining jobs and triggers in JSON: https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/microsoft-di-integration.html

Showing the top 20 packages that depend on Quartz.Extensions.DependencyInjection.

Packages Downloads
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
116
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
117
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
118
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
120
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
121
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
122
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
123
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
128
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
133
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
117
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
120
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
121
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
122
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
123
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
131

https://github.com/quartznet/quartznet/releases

Version Downloads Last updated
3.18.2 13 06/28/2026
3.18.1 33 04/25/2026
3.18.0 25 04/11/2026
3.17.1 27 04/03/2026
3.17.0 27 03/30/2026
3.16.1 33 03/05/2026
3.16.0 32 03/05/2026
3.15.1 81 10/27/2025
3.15.0 91 08/04/2025
3.14.0 147 03/20/2025
3.13.1 129 03/20/2025
3.13.0 123 03/29/2025
3.12.0 122 03/29/2025
3.11.0 116 03/29/2025
3.10.0 118 03/29/2025
3.9.0 128 03/30/2025
3.8.1 120 03/30/2025
3.8.0 111 03/30/2025
3.7.0 114 03/30/2025
3.6.3 123 03/30/2025
3.6.2 107 03/30/2025
3.6.1 133 03/30/2025
3.6.0 110 03/30/2025
3.5.0 121 03/30/2025
3.4.0 109 03/30/2025
3.3.3 100 03/30/2025
3.3.2 124 03/30/2025
3.3.1 114 03/30/2025
3.3.0 106 03/30/2025
3.2.4 119 03/30/2025
3.2.3 113 03/30/2025
3.2.2 124 03/30/2025
3.2.1 114 03/30/2025
3.2.0 119 03/30/2025
3.1.0 109 03/30/2025
0.4.0 114 03/30/2025
0.3.0 99 03/30/2025
0.2.0 111 03/30/2025
0.1.1 116 03/30/2025
0.1.0 119 03/30/2025