Quartz.Extensions.DependencyInjection 3.22.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Quartz.Extensions.DependencyInjection --version 3.22.0
                    
NuGet\Install-Package Quartz.Extensions.DependencyInjection -Version 3.22.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Quartz.Extensions.DependencyInjection" Version="3.22.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quartz.Extensions.DependencyInjection" Version="3.22.0" />
                    
Directory.Packages.props
<PackageReference Include="Quartz.Extensions.DependencyInjection" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Quartz.Extensions.DependencyInjection --version 3.22.0
                    
#r "nuget: Quartz.Extensions.DependencyInjection, 3.22.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Quartz.Extensions.DependencyInjection@3.22.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Quartz.Extensions.DependencyInjection&version=3.22.0
                    
Install as a Cake Addin
#tool nuget:?package=Quartz.Extensions.DependencyInjection&version=3.22.0
                    
Install as a Cake Tool

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (130)

Showing the top 5 NuGet packages that depend on Quartz.Extensions.DependencyInjection:

Package Downloads
OpenIddict.Quartz

Quartz.NET integration package for OpenIddict.

Elsa.Activities.Temporal.Quartz

Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application. This package provides a Quartz timer provider.

Volo.Abp.Quartz

Package Description

Aiwins.Rocket.Quartz

Package Description

CucurbIT.Infrastructure.Jobs

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.3.0 2,663 9/29/2026
4.2.4 249 9/29/2026
4.2.3 642 9/28/2026
4.2.2 1,505 9/28/2026
4.2.1 713 9/27/2026
4.2.0 1,532 9/25/2026
4.1.1 10,811 9/19/2026
4.1.0 11,614 9/13/2026
4.0.1 7,755 9/8/2026 4.0.1 is deprecated because it is no longer maintained.
3.22.3 4,544 9/29/2026
3.22.2 1,371 9/28/2026
3.22.1 928 9/28/2026
3.22.0 74,106 9/13/2026
3.21.0 27,272 9/9/2026
3.20.1 83,950 9/3/2026
3.20.0 156,816 8/27/2026
3.19.1 821,340 7/26/2026
3.19.0 44,984 7/24/2026
3.18.2 878,178 6/27/2026
3.18.1 2,211,512 4/25/2026
Loading failed