• Stars
    star
    310
  • Rank 134,289 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SilkierQuartz can host jobs using HostService and Provide a web management tools for Quartz !

NuGet License: MIT Build status .NET Core

SilkierQuartz is a new after merging Quartzmin and QuartzHostedService!

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

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

QuartzHostedService QuartzHostedService is easy to host Quartz as service in .Net Core !

So

SilkierQuartz can be used within your existing application with minimum effort as a Quartz.NET plugin when it automatically creates embedded web server.

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 SilkierQuartz can be easily extended with a custom editor for your specific type beside standard supported types such as String, Integer, DateTime and so on.

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

SilkierQuartz's Features

  • automatically discover IJob subclasses with SilkierQuartzAttribute
  • With QuartzHostedService and more extensions
  • Authentication feature , by khanhna

Quartzmin's 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

SilkierQuartz is available on nuget.org

To install SilkierQuartz, run the following command in the Package Manager Console

PM> Install-Package SilkierQuartz

ASP.NET Core middleware

Add to your Program.cs file:

   public class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder.UseStartup<Startup>();
                })
             .ConfigureSilkierQuartzHost();
     }

Add to your Startup.cs file:

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

public void Configure(IApplicationBuilder app)
{
    /* Optional for authentication
    app.UseAuthentication();
    app.AddSilkierQuartzAuthentication();
    app.UseAuthorization();
    */
    app.UseSilkierQuartz(new SilkierQuartzOptions()
                {
                    Scheduler = scheduler,
                    VirtualPathRoot = "/SilkierQuartz",
                    UseLocalTime = true,
                    DefaultDateFormat = "yyyy-MM-dd",
                    DefaultTimeFormat = "HH:mm:ss"
                    /* Optional for authentication
                    AccountName = "Your User Name",
                    AccountPassword = "Your User Password",
                    IsAuthenticationPersist = false
                    */
                });
}

Notes

In clustered environment, it make more sense to host SilkierQuartz 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 SilkierQuartzPlugin.

License

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

More Repositories

1

Taos.Studio

A GUI tool for viewing and editing data for TDengine
C#
84
star
2

GitLab.VisualStudio

GitLab Extension for Visual Studio
C#
61
star
3

EntityFrameworkCore.LiteDB

EntityFrameworkCore.LiteDB
C#
30
star
4

WeWaiter

WeWaiter 是一个开源的自助点餐软件。
JavaScript
26
star
5

Gitea.VisualStudio

Gitea for VisualStudio
C#
24
star
6

CAP.Extensions

CAP.Extensions 是 CAP的扩展库!
C#
20
star
7

MQTTnet.AspNetCoreEx

MQTTNet 4.0 have ClientConnectionValidator, so ,this is project closed!
C#
10
star
8

SharpHSQL

C#
8
star
9

rt-thread_linux_env

rt-thread 持续集成 docker环境
Dockerfile
5
star
10

SharpVNCRecorder

Sharp VNC Recorder
C#
4
star
11

Silkier

One line of code, everything's done.
C#
4
star
12

oschina2022

最火热中国开源项目社区之极客玩法
C#
4
star
13

www.pellesc.cn

PellesC 8.0 简体中文版 语言包
C
4
star
14

MoDao2MiniGUI

墨刀离线包生成MiniGUI 的C语言代码的工具
C#
3
star
15

libmmapqueue

mmap queue
C
3
star
16

maikebing

2
star
17

docker_minigui

一个用于持续集成的MiniGui交叉编译Docker 镜像
Shell
2
star
18

PinusDB.Data

为国产松果时序数据库(pinusdb)实现的标准ADO.Net 的数据访问接口。
C#
2
star
19

putty

PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
C
2
star
20

BACnetScaner

bacnet接口-c#版本
C#
1
star
21

Home

This is the homepage of my open source work.
Stylus
1
star
22

STM32F407VG-DISCOVERY_SHD3x-DIS

STM32F4DISCOVERY 是 ST 推出的一款基于 ARM Cortex-M4 内核的开发板,最高主频为 168Mhz,该开发板具有丰富的板载资源,可以充分发挥 STM32F407 的芯片性能。
C
1
star
23

CodeSnippetEditor

Visual Basic .NET
1
star
24

runtime42736

https://github.com/dotnet/runtime/issues/42736
C#
1
star
25

minigui2.0.4

C
1
star
26

Gitee.VisualStudio

Gitee.VisualStudio 的GitHub镜像 , 任何问题请前往 gitee.com反馈
C#
1
star