From fcadeb8e16cdeab8dd461eab71b9e7de7980e04d Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Mon, 8 Jun 2020 17:28:55 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c787401..82fd5e1 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,12 @@ [![Build status](https://ci.appveyor.com/api/projects/status/0ojmooqvycks11kw?svg=true)](https://ci.appveyor.com/project/MaiKeBing/silkierquartz) ![.NET Core](https://github.com/maikebing/SilkierQuartz/workflows/.NET%20Core/badge.svg?branch=master) -SilkierQuartz is a new after merging [SilkierQuartz](https://github.com/jlucansky/SilkierQuartz) and [QuartzHostedService](https://github.com/mukmyash/QuartzHostedService)! +SilkierQuartz is a new after merging [Quartzmin](https://github.com/jlucansky/Quartzmin) and [QuartzHostedService](https://github.com/mukmyash/QuartzHostedService)! > [Quartz.NET](https://www.quartz-scheduler.net) is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems. -> [SilkierQuartz](https://github.com/jlucansky/SilkierQuartz) SilkierQuartz is powerful, easy to use web management tool for Quartz.NET +> [Quartzmin](https://github.com/jlucansky/Quartzmin) Quartzmin is powerful, easy to use web management tool for Quartz.NET > [QuartzHostedService](https://github.com/mukmyash/QuartzHostedService) QuartzHostedService is easy to host Quartz as service in .Net Core ! @@ -20,7 +20,7 @@ So SilkierQuartz 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. -![Demo](https://raw.githubusercontent.com/jlucansky/public-assets/master/SilkierQuartz/demo.gif) +![Demo](https://raw.githubusercontent.com/jlucansky/public-assets/master/Quartzmin/demo.gif) 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. From 4663dca21131041fb0eeeb4004bcc03db98a72fc Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Mon, 8 Jun 2020 19:11:46 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 82fd5e1..78f2082 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,11 @@ The goal of this project is to provide convenient tool to utilize most of the fu SilkierQuartz was created with **Semantic UI** and **Handlebars.Net** as the template engine. -## Features +## SilkierQuartz's Features + + + +## 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 @@ -67,6 +71,25 @@ public void Configuration(IAppBuilder app) ``` ### ASP.NET Core middleware +Add to your `Program.cs` file: + +```csharp + 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(); + }) + .ConfigureSilkierQuartzHost(); + +``` Add to your `Startup.cs` file: ```csharp public void ConfigureServices(IServiceCollection services) @@ -77,9 +100,13 @@ public void ConfigureServices(IServiceCollection services) public void Configure(IApplicationBuilder app) { app.UseSilkierQuartz(new SilkierQuartzOptions() - { - Scheduler = StdSchedulerFactory.GetDefaultScheduler().Result - }); + { + Scheduler = scheduler, + VirtualPathRoot = "/SilkierQuartz", + UseLocalTime = true, + DefaultDateFormat = "yyyy-MM-dd", + DefaultTimeFormat = "HH:mm:ss" + }); } ``` From 4dd3152b62a6548216b564d21a98ea716a6409e2 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Mon, 8 Jun 2020 19:14:31 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 78f2082..4ee3bf6 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ The goal of this project is to provide convenient tool to utilize most of the fu 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 ## Quartzmin's Features @@ -88,6 +89,7 @@ Add to your `Program.cs` file: webBuilder.UseStartup(); }) .ConfigureSilkierQuartzHost(); + } ``` Add to your `Startup.cs` file: