Quartz.Extensions.DependencyInjection 3.19.1

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.
119
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.
123
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
125
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
130
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict.
138
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
118
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
124
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
125
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
127
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
134

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

Version Downloads Last updated
3.19.1 3 07/26/2026
3.19.0 4 07/25/2026
3.18.2 16 06/28/2026
3.18.1 36 04/25/2026
3.18.0 27 04/11/2026
3.17.1 29 04/03/2026
3.17.0 29 03/30/2026
3.16.1 37 03/05/2026
3.16.0 36 03/05/2026
3.15.1 84 10/27/2025
3.15.0 95 08/04/2025
3.14.0 149 03/20/2025
3.13.1 131 03/20/2025
3.13.0 124 03/29/2025
3.12.0 123 03/29/2025
3.11.0 116 03/29/2025
3.10.0 120 03/29/2025
3.9.0 129 03/30/2025
3.8.1 122 03/30/2025
3.8.0 111 03/30/2025
3.7.0 116 03/30/2025
3.6.3 124 03/30/2025
3.6.2 107 03/30/2025
3.6.1 134 03/30/2025
3.6.0 112 03/30/2025
3.5.0 122 03/30/2025
3.4.0 111 03/30/2025
3.3.3 103 03/30/2025
3.3.2 125 03/30/2025
3.3.1 115 03/30/2025
3.3.0 107 03/30/2025
3.2.4 123 03/30/2025
3.2.3 114 03/30/2025
3.2.2 126 03/30/2025
3.2.1 115 03/30/2025
3.2.0 119 03/30/2025
3.1.0 110 03/30/2025
0.4.0 114 03/30/2025
0.3.0 99 03/30/2025
0.2.0 112 03/30/2025
0.1.1 118 03/30/2025
0.1.0 121 03/30/2025