Yungc.Abp.Quartzmin 1.0.0

dotnet add package Yungc.Abp.Quartzmin --version 1.0.0
NuGet\Install-Package Yungc.Abp.Quartzmin -Version 1.0.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="Yungc.Abp.Quartzmin" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yungc.Abp.Quartzmin --version 1.0.0
#r "nuget: Yungc.Abp.Quartzmin, 1.0.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.
// Install Yungc.Abp.Quartzmin as a Cake Addin
#addin nuget:?package=Yungc.Abp.Quartzmin&version=1.0.0

// Install Yungc.Abp.Quartzmin as a Cake Tool
#tool nuget:?package=Yungc.Abp.Quartzmin&version=1.0.0

alternate text is missing from this package README image


NuGet License: MIT

Yungc.Abp.Quartzmin is fork from QuartzminFork! It's adujst for aspnetboilerplate

Quartzmin is powerful, easy to use web management tool for Quartz.NET

Quartzmin can be used within your existing application with minimum effort as a Quartz.NET plugin when it automatically creates embedded web server. Or it can be plugged into your existing OWIN-based web application as a middleware.

Quartz.NET is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.

Demo

The goal of this project is to provide convenient tool to utilize most of the functionality that Quartz.NET enables. The biggest challenge was to create a simple yet effective editor of job data map which is heart of Quartz.NET. Every job data map item is strongly typed and Quartzmin can be easily extended with a custom editor for your specific type beside standard supported types such as String, Integer, DateTime and so on.

Quartzmin was created with Semantic UI and Handlebars.Net as the template engine.

Features

  • Add, modify jobs and triggers
  • Add, modify calendars (Annual, Cron, Daily, Holiday, Monthly, Weekly)
  • Change trigger type to Cron, Simple, Calendar Interval or Daily Time Interval
  • Set typed job data map values (bool, DateTime, int, float, long, double, decimal, string, byte[])
  • Create custom type editor for complex type in job data map
  • Manage scheduler state (standby, shutdown)
  • Pause and resume job and trigger groups
  • Pause and resume triggers individually
  • Pause and resume all triggers for specific job
  • Trigger specific job immediately
  • Watch currently executing jobs
  • Interrupt executing job
  • See next scheduled dates for Cron
  • See recent job history, state and error messages

Install

Quartzmin is available on nuget.org

To install Yungc.Abp.Quartzmin, run the following command in the Package Manager Console

PM> Install-Package Yungc.Abp.Quartzmin

Minimum requirements

  • .NET Framework 4.5.2
  • .NET Standard 2.0

Usage

Embedded web server

Everything you should do is just install Quartzmin.SelfHost package and configure QuartzminPlugin and ExecutionHistoryPlugin to support histograms and statistics.

Run the following command in the Package Manager Console:

PM> Install-Package Quartzmin.SelfHost

Add to your App.config file:

<configuration>
  <configSections>
    <section name="quartz" type="System.Configuration.NameValueFileSectionHandler" />
  </configSections>

  <quartz>
    <add key="quartz.plugin.quartzmin.type" value="Quartzmin.SelfHost.QuartzminPlugin, Quartzmin.SelfHost" />
    <add key="quartz.plugin.quartzmin.url" value="http://localhost:5000" />
      
    <add key="quartz.plugin.recentHistory.type" value="Quartz.Plugins.RecentHistory.ExecutionHistoryPlugin, Quartz.Plugins.RecentHistory" />
    <add key="quartz.plugin.recentHistory.storeType" value="Quartz.Plugins.RecentHistory.Impl.InProcExecutionHistoryStore, Quartz.Plugins.RecentHistory" />
  </quartz>
</configuration>

OWIN middleware

Add to your Startup.cs file:

public void Configuration(IAppBuilder app)
{
    app.UseQuartzmin(new QuartzminOptions()
    {
        Scheduler = StdSchedulerFactory.GetDefaultScheduler().Result
    });
}

ASP.NET Core middleware

Add to your Startup.cs file:

// add  DependsOn to module
    [DependsOn(
       typeof(Quartzmin.AbpQuartzminModule))]


public void ConfigureServices(IServiceCollection services)
{
    services.AddQuartzmin();
}

public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
  var cfg = IocManager.Instance.Resolve<IAbpQuartzConfiguration>();

  app.UseQuartzmin(new QuartzminOptions()
  {
      VirtualPathRoot = "/test",
      Scheduler = cfg.Scheduler
  });

}

Create job see creating-jobs

Schedule Job see schedule-jobs

Notes

In clustered environment, it make more sense to host Quarzmin on single dedicated Quartz.NET node in standby mode and implement own IExecutionHistoryStore depending on database or ORM framework you typically incorporate. Every clustered Quarz.NET node should be configured with ExecutionHistoryPlugin and only dedicated node for management may have QuartzminPlugin.

License

This project is made available under the MIT license. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
1.0.0 314 12/6/2021