Excalibur.Jobs 3.0.0-alpha.185

This is a prerelease version of Excalibur.Jobs.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Excalibur.Jobs --version 3.0.0-alpha.185
                    
NuGet\Install-Package Excalibur.Jobs -Version 3.0.0-alpha.185
                    
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="Excalibur.Jobs" Version="3.0.0-alpha.185" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Excalibur.Jobs" Version="3.0.0-alpha.185" />
                    
Directory.Packages.props
<PackageReference Include="Excalibur.Jobs" />
                    
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 Excalibur.Jobs --version 3.0.0-alpha.185
                    
#r "nuget: Excalibur.Jobs, 3.0.0-alpha.185"
                    
#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 Excalibur.Jobs@3.0.0-alpha.185
                    
#: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=Excalibur.Jobs&version=3.0.0-alpha.185&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Excalibur.Jobs&version=3.0.0-alpha.185&prerelease
                    
Install as a Cake Tool

Excalibur.Jobs

Job scheduling and execution for the Excalibur framework using Quartz.NET.

Quick Start

Get started in 5 minutes with the unified AddExcaliburJobHost API.

1. Create a new project

dotnet new worker -n MyJobWorker
cd MyJobWorker
dotnet add package Excalibur.Jobs

2. Add minimal Program.cs

using Excalibur.Jobs.Abstractions;
using Excalibur.Jobs.Quartz;

var builder = Host.CreateApplicationBuilder(args);

// Single call sets up everything: base services, Quartz scheduling, health checks
builder.Services.AddExcaliburJobHost(
    configureJobs: jobs =>
    {
        jobs.AddRecurringJob<HelloWorldJob>(TimeSpan.FromMinutes(1), "hello-job");
    },
    typeof(Program).Assembly);

var host = builder.Build();
host.Run();

public class HelloWorldJob : IBackgroundJob
{
    private readonly ILogger<HelloWorldJob> _logger;

    public HelloWorldJob(ILogger<HelloWorldJob> logger) => _logger = logger;

    public Task ExecuteAsync(CancellationToken cancellationToken = default)
    {
        _logger.LogInformation("Hello from Excalibur Job at {Time}", DateTimeOffset.Now);
        return Task.CompletedTask;
    }
}

3. Run

dotnet run

See examples/MinimalJobSample for the complete working sample.

Features

  • Unified registration: Single AddExcaliburJobHost() call configures all services
  • Quartz.NET integration: Full scheduling with cron expressions, triggers, and persistence
  • Fluent job API: AddRecurringJob, AddOneTimeJob, AddJobIf for conditional jobs
  • Health checks: Built-in monitoring for job execution
  • Dependency injection: Jobs resolve services from the DI container

Advanced Configuration

builder.Services.AddExcaliburJobHost(
    configureQuartz: q =>
    {
        // Configure persistence, clustering, thread pools
        q.UsePersistentStore(store => { /* ... */ });
        q.UseDefaultThreadPool(tp => tp.MaxConcurrency = 10);
    },
    configureJobs: jobs =>
    {
        jobs.AddRecurringJob<MyJob>(TimeSpan.FromHours(1), "hourly-job");
        jobs.AddOneTimeJob<StartupJob>("startup-init");
    },
    typeof(Program).Assembly);

Installation

dotnet add package Excalibur.Jobs

License

This project is multi-licensed under:

See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Excalibur.Jobs:

Package Downloads
Excalibur.Hosting.Jobs

Job hosting infrastructure for Excalibur applications with .NET Worker Service and Web hosting support.

Excalibur.Jobs.Quartz.Outbox

A project within Excalibur to define the classes and methods related to the Outbox Job.

Excalibur.Jobs.Quartz.DataProcessing

A project within Excalibur to define the classes and methods related to the Data Processing Job.

Excalibur.Jobs.Quartz.Cdc

A project within Excalibur to define the classes and methods related to the CDC Job.

Excalibur.Jobs.SqlServer

SQL Server implementation of distributed job coordination for the Excalibur framework. Uses Dapper for data access with distributed locking, instance registry, and job distribution.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.194 53 5/20/2026
3.0.0-alpha.193 65 5/13/2026
3.0.0-alpha.192 67 5/13/2026
3.0.0-alpha.191 62 5/13/2026
3.0.0-alpha.189 65 5/12/2026
3.0.0-alpha.187 70 5/8/2026
3.0.0-alpha.185 70 5/7/2026
3.0.0-alpha.183 64 5/7/2026
3.0.0-alpha.182 63 5/6/2026
3.0.0-alpha.181 68 5/6/2026
3.0.0-alpha.179 56 5/6/2026
3.0.0-alpha.178 63 4/25/2026
3.0.0-alpha.177 57 4/25/2026
3.0.0-alpha.176 53 4/25/2026
3.0.0-alpha.175 52 4/24/2026
3.0.0-alpha.174 67 4/24/2026
3.0.0-alpha.173 55 4/24/2026
3.0.0-alpha.170 60 4/23/2026
3.0.0-alpha.168 56 4/23/2026
2.2.14 357 8/26/2025
Loading failed