Quartz 4.1.1

Quartz.NET

Quartz.NET is a full-featured, open source job scheduling system that can be used from the smallest apps to large scale enterprise systems.

Installation

dotnet add package Quartz

That is everything a scheduler needs: dependency injection, hosting, the scheduler health check and System.Text.Json serialization are part of this package, where Quartz 3 shipped them separately.

Three things Quartz deliberately does not bring. The host below is Microsoft's — a project that has no Microsoft.Extensions.Hosting reference yet (a plain console one; the worker and web templates already have it) adds dotnet add package Microsoft.Extensions.Hosting. Quartz writes log events and leaves deciding where they go to the application, so it references Microsoft.Extensions.Logging.Abstractions rather than Microsoft.Extensions.Logging — a host brings the implementation with it, and a project that builds an ILoggerFactory itself adds dotnet add package Microsoft.Extensions.Logging. And a persistent store loads its ADO.NET driver by name, so UseSqlServer needs Microsoft.Data.SqlClient referenced, UsePostgres needs Npgsql, and so on.

Quick start

A job is a class with one method:

public sealed class HelloJob : IJob
{
    public async ValueTask Execute(IJobExecutionContext context, CancellationToken cancellationToken = default)
    {
        await Console.Out.WriteLineAsync("Greetings from HelloJob!");
    }
}

Register it with a trigger that fires it; the hosted service starts and stops the scheduler with the application:

HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);

builder.AddQuartz(q => q.ScheduleJob<HelloJob>(trigger => trigger
    .WithIdentity("hello")
    .WithSimpleSchedule(TimeSpan.FromSeconds(10))));

builder.AddQuartzHostedService(options => options.WaitForJobsToComplete = true);

Console applications and tests build a scheduler without a host, from the same configuration API:

IScheduler scheduler = await QuartzSchedulerBuilder.Create().BuildScheduler();
await scheduler.Start();

Optional packages

Package For
Quartz.AspNetCore the HTTP API
Quartz.Aspire a persistent store, its telemetry and its health check from an Aspire connection name
Quartz.Dashboard the web dashboard
Quartz.HttpClient driving a remote scheduler over the HTTP API
Quartz.Jobs ready-made jobs: file scanning, sending mail, running a process
Quartz.Plugins history logging, XML and JSON schedule files
Quartz.Plugins.TimeZoneConverter Windows and IANA time zone ids resolving on either operating system
Quartz.Serialization.Newtonsoft persisting with Newtonsoft.Json instead of System.Text.Json
Quartz.Extensions.Redis Redis distributed locks for a cluster

Documentation

Showing the top 20 packages that depend on Quartz.

Packages Downloads
Quartz.Extensions.DependencyInjection
Extension methods to integrate Quartz scheduler and the jobs with the generic host in net core.
131
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
131
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
132
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
133
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
135
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
138
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
142
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
149
Quartz.Extensions.DependencyInjection
Quartz.NET Microsoft.Extensions.DependencyInjection integration; Quartz Scheduling Framework for .NET
162
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET
141
Quartz.Extensions.Hosting
Runs Quartz.net as a HostedService in a generic host.
134
Quartz.Serialization.Json
Quartz.NET JSON Serialization Support
135
Quartz.Serialization.Json
Quartz.NET JSON Serialization Support; Quartz Scheduling Framework for .NET
132
Quartz.Serialization.Json
Quartz.NET JSON Serialization Support; Quartz Scheduling Framework for .NET
133
Quartz.Serialization.Json
Quartz.NET JSON Serialization Support; Quartz Scheduling Framework for .NET
134

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

Version Downloads Last updated
4.2.0 0 09/25/2026
4.1.1 9 09/19/2026
4.1.0 15 09/13/2026
4.0.1 10 09/10/2026
4.0.0 13 09/04/2026
4.0.0-rc.2 15 09/04/2026
4.0.0-rc.1 15 09/04/2026
4.0.0-beta.1 16 09/02/2026
4.0.0-alpha.5 13 09/01/2026
4.0.0-alpha.4 14 08/31/2026
4.0.0-alpha.3 20 08/28/2026
4.0.0-alpha.2 16 08/27/2026
4.0.0-alpha.1 18 08/22/2026
3.22.0 20 09/13/2026
3.21.0 16 09/12/2026
3.20.1 13 09/04/2026
3.20.0 16 08/28/2026
3.19.1 28 07/26/2026
3.19.0 30 07/25/2026
3.18.2 28 06/27/2026
3.18.1 47 04/25/2026
3.18.0 51 04/11/2026
3.17.1 53 04/03/2026
3.17.0 49 03/29/2026
3.16.1 51 03/05/2026
3.16.0 52 03/02/2026
3.15.1 97 10/28/2025
3.15.0 143 08/05/2025
3.14.0 139 04/01/2025
3.13.1 130 04/01/2025
3.13.0 124 04/01/2025
3.12.0 148 04/01/2025
3.11.0 145 04/01/2025
3.10.0 130 04/01/2025
3.9.0 118 04/01/2025
3.8.1 103 04/01/2025
3.8.0 128 04/01/2025
3.7.0 118 04/01/2025
3.6.3 133 04/01/2025
3.6.2 128 04/01/2025
3.6.1 146 04/01/2025
3.6.0 130 04/01/2025
3.5.0 131 04/01/2025
3.4.0 137 04/01/2025
3.3.3 112 04/01/2025
3.3.2 124 04/01/2025
3.3.1 140 04/01/2025
3.3.0 130 04/05/2025
3.2.4 124 04/01/2025
3.2.3 129 04/01/2025
3.2.2 129 04/01/2025
3.2.1 121 04/01/2025
3.2.0 126 04/01/2025
3.1.0 129 04/01/2025
3.0.7 124 04/01/2025
3.0.6 130 04/01/2025
3.0.5 131 04/01/2025
3.0.4 142 04/01/2025
3.0.3 132 04/01/2025
3.0.2 115 04/01/2025
3.0.1 126 04/01/2025
3.0.0 136 04/01/2025
2.6.2 129 04/01/2025
2.6.1 122 04/01/2025
2.6.0 138 04/01/2025
2.5.0 136 04/01/2025
2.4.1 142 04/01/2025
2.4.0 129 04/01/2025
2.3.3 123 04/01/2025
2.3.2 151 04/01/2025
2.3.1 129 04/01/2025
2.3.0 148 04/01/2025
2.2.4 138 04/01/2025
2.2.3 132 04/01/2025
2.2.2 121 04/01/2025
2.2.1 130 04/01/2025
2.2.0 152 04/01/2025
2.1.2 130 04/01/2025
2.1.1 133 04/01/2025
2.1.0 132 04/01/2025
2.0.1 128 04/01/2025
2.0.0 141 04/01/2025
1.0.3 136 04/01/2025