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
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
67
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
66
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
65
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
64
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
62
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
54
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
53
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
52
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
51
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
50
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
49

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

Version Downloads Last updated
3.18.2 5 06/28/2026
3.18.1 20 04/26/2026
3.18.0 21 04/12/2026
3.17.1 21 04/09/2026
3.17.0 25 03/30/2026
3.16.1 38 03/05/2026
3.16.0 43 03/03/2026
3.15.1 57 11/02/2025
3.15.0 71 09/05/2025
3.14.0 64 09/05/2025
3.13.1 65 09/05/2025
3.13.0 66 09/05/2025
3.12.0 69 09/05/2025
3.11.0 68 09/05/2025
3.10.0 66 09/05/2025
3.9.0 67 09/05/2025
3.8.1 69 09/05/2025
3.8.0 67 09/05/2025
3.7.0 65 09/05/2025
3.6.3 70 09/05/2025
3.6.2 66 09/05/2025
3.6.1 67 09/05/2025
3.6.0 67 09/05/2025
3.5.0 67 09/05/2025
3.4.0 64 09/05/2025
3.3.3 71 09/05/2025
3.3.2 68 09/05/2025
3.3.1 65 09/05/2025
3.3.0 65 09/05/2025
3.2.4 65 09/05/2025
3.2.3 72 09/05/2025
3.2.2 66 09/05/2025
3.2.1 64 09/05/2025
3.2.0 65 09/05/2025
3.1.0 69 09/05/2025
0.4.0 66 09/05/2025
0.3.0 64 09/05/2025
0.2.0 67 09/05/2025
0.1.1 67 09/05/2025
0.1.0 64 09/05/2025