Skip to main content
net10.0

Quartz.NET Weasel integration - shared glue that puts the ADO.NET job store's schema under Weasel's db-apply, db-assert, db-patch, resources setup and startup migration; install a dialect package beside it; Quartz Scheduling Framework for .NET

Published
Oct 7, 2026
17d ago
Total Downloads
1.5K
1,546

Install

dotnet add package Quartz.Weasel --version 4.4.0
ProductVersions
.NET
net10.0

README

Quartz.Weasel

Quartz.Weasel puts Quartz.NET's ADO.NET job store schema under Weasel, the schema tool behind Marten and Wolverine. An application already on that stack creates and migrates Quartz's tables the way it migrates its own: db-apply, db-assert, db-patch, resources setup, and AutoCreate at startup.

This package is the shared glue. Install the one for your database, which brings it along:

Package Database
Quartz.Weasel.PostgreSQL PostgreSQL, standalone or inside a Marten store
Quartz.Weasel.SqlServer SQL Server 2016 or later, disk-based tables
Quartz.Weasel.MySQL MySQL 8.0 or later, through MySqlConnector
Quartz.Weasel.Oracle Oracle, in the session's current schema
Quartz.Weasel.Firebird Firebird 3, 4 and 5
Quartz.Weasel.SQLite SQLite

The packages depend on Weasel [9.39.0, 10.0.0), and through it on JasperFx 2.76.0 or later.

An application not using Weasel keeps ProvisionSchema() and the scripts under database/migrations/.

Usage

HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);

builder.Services.AddQuartz(q => q.UsePersistentStore(store =>
{
    store.UsePostgres(connectionString);
    store.UseWeaselForPostgres(); // or UseWeaselForSqlServer/MySql/Oracle/Firebird/Sqlite(), from their packages
}));
builder.Services.AddQuartzHostedService();

// dotnet run -- db-apply | db-assert | db-patch <file> | resources setup
return await builder.Build().RunJasperFxCommands(args);

Documentation

https://www.quartz-scheduler.net/documentation/quartz-4.x/packages/weasel.html

Changes from Previous Version

No structural changes between v4.3.0 and v4.4.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.