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
Sep 29, 2026
26d ago
Total Downloads
1.5K
1,546

Install

dotnet add package Quartz.Weasel --version 4.3.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.SQLite SQLite

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() / UseWeaselForSqlite(), 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

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.