mirror of
https://github.com/fergalmoran/SilkierQuartz.git
synced 2025-12-22 09:37:56 +00:00
Merge branch 'master' of https://github.com/maikebing/SilkierQuartz
This commit is contained in:
39
README.md
39
README.md
@@ -5,12 +5,12 @@
|
||||
[](https://ci.appveyor.com/project/MaiKeBing/silkierquartz)
|
||||

|
||||
|
||||
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,13 +20,18 @@ 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.
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||
## Features
|
||||
## SilkierQuartz's Features
|
||||
- automatically discover IJob subclasses with SilkierQuartzAttribute
|
||||
- With QuartzHostedService and more extensions
|
||||
|
||||
|
||||
## 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 +72,26 @@ 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<Startup>();
|
||||
})
|
||||
.ConfigureSilkierQuartzHost();
|
||||
}
|
||||
|
||||
```
|
||||
Add to your `Startup.cs` file:
|
||||
```csharp
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
@@ -78,7 +103,11 @@ 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"
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user