Milvasoft.Milvaion.Sdk.Worker.Quartz 10.1.0

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

Milvaion Quartz Integration

license NuGet
NuGet

Milvaion Quartz Integration allows you to monitor your existing Quartz.NET jobs through Milvaion's dashboard without changing your scheduler. Keep using Quartz for scheduling while gaining Milvaion's monitoring, alerting, and metrics capabilities.


Features

  • Zero-Code Job Changes - Your existing Quartz jobs work as-is
  • Automatic Job Registration - Jobs are automatically registered with Milvaion when scheduled
  • Real-time Monitoring - Track job executions, durations, and failures in Milvaion dashboard
  • Execution Tracking - Every job execution is recorded with status, duration, and result
  • Log Publishing - Publish job logs to Milvaion for real-time viewing
  • Worker Heartbeats - Automatic health monitoring and status updates
  • Metrics Integration - Jobs contribute to EPM, average duration, and success rate metrics

Installation

dotnet add package Milvasoft.Milvaion.Sdk.Worker.Quartz

Quick Start

1. Configure Services

using Milvasoft.Milvaion.Sdk.Worker.Quartz.Extensions;
using Quartz;

var builder = Host.CreateApplicationBuilder(args);

// Add Milvaion Quartz integration
builder.Services.AddMilvaionQuartzIntegration(builder.Configuration);

// Configure Quartz with your jobs
builder.Services.AddQuartz(q =>
{
    // Enable Milvaion listeners
    q.UseMilvaion(builder.Services);

    // Register your jobs as usual
    var jobKey = new JobKey("MyJob", "MyGroup");
    q.AddJob<MyJob>(opts => opts.WithIdentity(jobKey));
    q.AddTrigger(opts => opts
        .ForJob(jobKey)
        .WithCronSchedule("0 0 * * * ?"));
});

builder.Services.AddQuartzHostedService(q => q.WaitForJobsToComplete = true);

await builder.Build().RunAsync();

2. Configure appsettings.json

{
  "Worker": {
    "WorkerId": "quartz-worker-1",
    "RabbitMQ": {
      "Host": "localhost",
      "Port": 5672,
      "Username": "guest",
      "Password": "guest"
    },
    "Redis": {
      "ConnectionString": "localhost:6379"
    },
    "ExternalScheduler": {
      "SourceName": "Quartz"
    }
  }
}

3. (Optional) Publish Logs from Jobs

public class MyJob(ILogPublisher logPublisher) : IJob
{
    public async Task Execute(IJobExecutionContext context)
    {
        var correlationId = Guid.Parse(
            context.MergedJobDataMap.GetString("Milvaion_CorrelationId"));
        var workerId = context.MergedJobDataMap.GetString("Milvaion_WorkerId");

        await logPublisher.PublishLogAsync(new JobOccurrenceLogMessage
        {
            CorrelationId = correlationId,
            WorkerId = workerId,
            Level = "Information",
            Message = "Processing started...",
            Timestamp = DateTime.UtcNow
        });

        // Your job logic here

        await logPublisher.FlushAsync();
    }
}

Dashboard Features

External jobs appear in Milvaion dashboard with:

  • Full execution history
  • Real-time logs (if published)
  • Duration and success rate metrics

Documentation

For complete documentation, visit: Milvaion Documentation

License

This project is licensed under the MIT License.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.1 93 5/21/2026
10.1.0 102 3/25/2026
10.0.17 108 3/8/2026
10.0.16 101 3/5/2026
10.0.15 116 2/10/2026
10.0.14 109 2/5/2026
10.0.13 110 2/5/2026
10.0.12 122 2/4/2026