Quartz.Extensions.Hosting 3.18.2

Quartz.Extensions.Hosting

Quartz.Extensions.Hosting runs Quartz.NET as a hosted service on the generic host, starting and stopping the scheduler with the application lifetime.

Note: Quartz 3.2 or later required. For ASP.NET Core apps, see Quartz.AspNetCore.

Installation

dotnet add package Quartz.Extensions.Hosting

Usage

Register the scheduler and the hosted service:

services.AddQuartz(q =>
{
    // scheduler, job and trigger configuration
});

services.AddQuartzHostedService(options =>
{
    // wait for jobs to complete gracefully on shutdown
    options.WaitForJobsToComplete = true;
});

See the Microsoft DI integration docs for configuring jobs and triggers.

Documentation

📖 Full documentation: https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/hosted-services-integration.html

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

Packages Downloads
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
18
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
19
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
20
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
21
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
22
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
23
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET
61

Version Downloads Last updated
3.19.1 0 26.07.2026
3.19.0 0 24.07.2026
3.18.2 1 21.07.2026
3.18.1 7 27.04.2026
3.18.0 19 11.04.2026
3.17.1 23 05.04.2026
3.17.0 4 31.03.2026
3.16.1 5 14.03.2026
3.16.0 6 14.03.2026
3.15.1 13 19.12.2025
3.15.0 7 19.12.2025
3.14.0 36 12.03.2025
3.13.1 31 02.12.2024
3.13.0 53 20.08.2024
3.12.0 14 05.08.2024
3.11.0 20 22.07.2024
3.10.0 17 28.06.2024
3.9.0 18 13.05.2024
3.8.1 16 26.06.2024
3.8.0 17 26.07.2024
3.7.0 18 24.11.2024
3.6.3 18 26.07.2024
3.6.2 17 15.01.2025
3.6.1 17 15.01.2025
3.6.0 19 26.07.2024
3.5.0 18 26.07.2024
3.4.0 19 15.11.2024
3.3.3 18 26.07.2024
3.3.2 18 26.07.2024
3.3.1 19 26.07.2024
3.3.0 19 26.08.2024
3.2.4 19 26.07.2024
3.2.3 16 15.01.2025
3.2.2 18 26.07.2024
3.2.1 18 15.01.2025
3.2.0 16 15.01.2025
1.0.0 17 26.07.2024