A package to help you use Quartz.NET in Asp.Net core by DI easily
- Package Manager: Install-Package Quartz.AspNetCore -Version 1.0.1
- .NET CLI: dotnet add package Quartz.AspNetCore --version 1.0.1
-
Register service in ConfigureServices method in Startup file.
services.AddQuartz(options => { options.UseMemoryStore(); });
-
Start quartz scheduler in Configure method
app.UseQuartz();
-
Prepare your database: https://github.com/quartznet/quartznet/blob/master/database/tables/tables_sqlServer.sql
-
Register service in ConfigureServices method in Startup file.
services.AddQuartz(options => { options.UseSqlServer("Data Source=.\\SQLEXPRESS;Initial Catalog=QUARTZ;Integrated Security=True"); });
-
Start quartz scheduler in Configure method
app.UseQuartz();
- Support MySql, PG, etc...
- Support configuration file
- Fork the project
- Create Feat_xxx branch
- Commit your code
- Create Pull Request