Quartz.Jobs 4.0.0-alpha.2
Quartz.Jobs
Quartz.Jobs provides ready-made jobs for the things schedules are most often asked to do.
| Job | What it does |
|---|---|
DirectoryScanJob |
watches a directory and calls an IDirectoryScanListener when files are added, changed or deleted |
FileScanJob |
watches a single file and calls an IFileScanListener when it changes |
NativeJob |
runs a native executable in a separate process |
SendMailJob |
sends an e-mail with configured content to a configured recipient |
Installation
dotnet add package Quartz.Jobs
Usage
Each job reads its settings from its JobDataMap. Those keys are the persisted form, so each job also
has an options type that writes exactly them — the key cannot be misspelled and the value cannot be of
the wrong type:
builder.Services.AddQuartz(q => q.ScheduleJob<SendMailJob>(
trigger => trigger.WithIdentity("nightlyDigest").WithCronSchedule("0 0 6 * * ?"),
job => job.UsingSendMailOptions(new SendMailOptions
{
SmtpHost = "smtp.example.com",
Sender = "scheduler@example.com",
Recipient = "ops@example.com",
Subject = "Nightly digest",
Message = "Everything ran.",
})));
UsingDirectoryScanOptions, UsingFileScanOptions and UsingNativeJobOptions are the same thing for
the other three, and all of them work on JobBuilder.Create<TJob>() as well as on the configurator
AddJob<TJob>(…) hands you.
These jobs live in the Quartz.Jobs namespace. In Quartz 3 it was the singular Quartz.Job; a
configuration string or a stored JOB_CLASS_NAME naming the old spelling still resolves, with a
warning.
Documentation
https://www.quartz-scheduler.net/documentation/quartz-4.x/packages/quartz-jobs.html
Showing the top 20 packages that depend on Quartz.Jobs.
| Packages | Downloads |
|---|---|
|
Quartz.Plugins
Quartz.NET Plugins; Quartz Scheduling Framework for .NET
|
29 |
|
Quartz.Plugins
Quartz.NET Plugins; Quartz Scheduling Framework for .NET
|
30 |
|
Quartz.Plugins
Quartz.NET Plugins; Quartz Scheduling Framework for .NET
|
31 |
|
Quartz.Plugins
Quartz.NET Plugins; Quartz Scheduling Framework for .NET
|
32 |
|
Quartz.Plugins
Quartz Scheduling Framework for .NET
|
29 |
|
Quartz.Plugins
Quartz Scheduling Framework for .NET
|
30 |
|
Quartz.Plugins
Quartz Scheduling Framework for .NET
|
31 |
.NET 10.0
- Quartz (>= 4.0.0-alpha.2)
- Microsoft.Extensions.DependencyInjection (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.11)
| Version | Downloads | Last updated |
|---|---|---|
| 4.0.0-alpha.3 | 1 | 08/27/2026 |
| 4.0.0-alpha.2 | 2 | 08/25/2026 |
| 4.0.0-alpha.1 | 5 | 08/24/2026 |
| 3.20.0 | 1 | 08/27/2026 |
| 3.19.1 | 15 | 07/28/2026 |
| 3.19.0 | 13 | 07/26/2026 |
| 3.18.2 | 19 | 06/28/2026 |
| 3.18.1 | 31 | 04/27/2026 |
| 3.18.0 | 28 | 04/17/2026 |
| 3.17.1 | 28 | 04/17/2026 |
| 3.17.0 | 31 | 04/17/2026 |
| 3.16.1 | 19 | 04/17/2026 |
| 3.16.0 | 28 | 04/17/2026 |
| 3.15.1 | 29 | 04/17/2026 |
| 3.15.0 | 30 | 04/17/2026 |
| 3.14.0 | 31 | 04/17/2026 |
| 3.13.1 | 28 | 04/17/2026 |
| 3.13.0 | 28 | 04/17/2026 |
| 3.12.0 | 21 | 04/17/2026 |
| 3.11.0 | 31 | 04/17/2026 |
| 3.10.0 | 28 | 04/17/2026 |
| 3.9.0 | 26 | 04/17/2026 |
| 3.8.1 | 28 | 04/17/2026 |
| 3.8.0 | 28 | 04/17/2026 |
| 3.7.0 | 29 | 04/17/2026 |
| 3.6.3 | 32 | 04/17/2026 |
| 3.6.2 | 31 | 04/17/2026 |
| 3.6.1 | 29 | 04/17/2026 |
| 3.6.0 | 28 | 04/17/2026 |
| 3.5.0 | 27 | 04/17/2026 |
| 3.4.0 | 23 | 04/17/2026 |
| 3.3.3 | 30 | 04/17/2026 |
| 3.3.2 | 31 | 04/17/2026 |
| 3.3.1 | 31 | 04/17/2026 |
| 3.3.0 | 31 | 04/17/2026 |
| 3.2.4 | 29 | 04/17/2026 |
| 3.2.3 | 30 | 04/17/2026 |
| 3.2.2 | 27 | 04/17/2026 |
| 3.2.1 | 32 | 04/17/2026 |
| 3.2.0 | 21 | 04/17/2026 |
| 3.1.0 | 30 | 04/17/2026 |
| 3.0.7 | 28 | 04/17/2026 |
| 3.0.6 | 32 | 04/17/2026 |
| 3.0.5 | 22 | 04/17/2026 |
| 3.0.4 | 24 | 04/17/2026 |
| 3.0.3 | 28 | 04/17/2026 |
| 3.0.2 | 31 | 04/17/2026 |
| 3.0.1 | 32 | 04/17/2026 |
| 3.0.0 | 28 | 04/17/2026 |
| 3.0.0-beta1 | 29 | 04/17/2026 |