|
1 | 1 | # Syrna.QuartzAdmin |
2 | 2 | Quartz Enterprise Scheduler .NET Admin UI with Blazor, WebApi and Abp Framework |
3 | 3 |
|
| 4 | +[](https://abp.io) |
| 5 | + |
| 6 | +[](https://www.nuget.org/packages/Syrna.QuartzAdmin.Application) |
| 7 | +[](https://www.nuget.org/packages/Syrna.QuartzAdmin.Application) |
| 8 | + |
| 9 | +An abp application module that allows manage quartz scheduling. |
| 10 | + |
| 11 | +## Installation |
| 12 | + |
| 13 | +1. Install the following NuGet packages. ([see how](https://github.com/SyrnaAbp/SyrnaAbpGuide/blob/master/docs/How-To.md#add-nuget-packages)) |
| 14 | + |
| 15 | + * Syrna.QuartzAdmin.Application |
| 16 | + * Syrna.QuartzAdmin.Application.Contracts |
| 17 | + * Syrna.QuartzAdmin.Domain |
| 18 | + * Syrna.QuartzAdmin.Domain.Shared |
| 19 | + * Syrna.QuartzAdmin.EntityFrameworkCore |
| 20 | + * Syrna.QuartzAdmin.HttpApi |
| 21 | + * Syrna.QuartzAdmin.HttpApi.Client |
| 22 | + * Syrna.QuartzAdmin.Web |
| 23 | + * Syrna.QuartzAdmin.Blazor |
| 24 | + * Syrna.QuartzAdmin.Blazor.Server |
| 25 | + * Syrna.QuartzAdmin.Blazor.WebAssembly |
| 26 | + |
| 27 | +1. Add `DependsOn(typeof(QuartzAdminXxxModule))` attribute to configure the module dependencies. ([see how](https://github.com/SyrnaAbp/SyrnaAbpGuide/blob/master/docs/How-To.md#add-module-dependencies)) |
| 28 | + |
| 29 | +1. Add `builder.ConfigureQuartzAdmin();` to the `OnModelCreating()` method in **MyProjectMigrationsDbContext.cs**. |
| 30 | + |
| 31 | +1. Add EF Core migrations and update your database. See: [ABP document](https://docs.abp.io/en/abp/latest/Tutorials/Part-1?UI=MVC&DB=EF#add-database-migration). |
| 32 | + |
| 33 | +## Requirements |
| 34 | +* .NET 9 |
| 35 | +* ABP 9.1.1 |
| 36 | +* Quartz 3.13.0+ |
| 37 | + |
| 38 | +## Features |
| 39 | +* Add, modify jobs and triggers |
| 40 | +* Support Cron, Daily, Simple trigger |
| 41 | +* Pause, resume, clone scheduled jobs |
| 42 | +* Create custom UI to configure job |
| 43 | +* Dynamic variables support |
| 44 | +* Monitor currently executing jobs |
| 45 | +* Load custom job DLLs through configuration |
| 46 | +* Display job execution logs, state, return message and error message |
| 47 | +* Filter execution logs |
| 48 | +* Store execution logs into any database |
| 49 | + * Build-in support for SQLite, MSSQL and PostgreSQL |
| 50 | +* Auto cleanup of old execution logs |
| 51 | + * Configurable logs retention days |
| 52 | +* Build-in Jobs |
| 53 | + * HTTP API client job |
| 54 | + |
| 55 | + |
4 | 56 | ## Usage |
| 57 | +> 1. You must create quartz database. You can find sql mssql script https://github.com/SyrnaAbp/Syrna.QuartzAdmin/blob/dev/demos/MainDemo/src/Syrna.QuartzAdmin.MainDemo.DbMigrator/sqlserver.sql |
| 58 | +> 2. If you will change database, get your sql script from https://github.com/quartznet/quartznet/tree/main/database/tables |
| 59 | +> 3. modify your appsettings.json |
| 60 | +> 4. More details can be found at [QuartzAdmin](https://github.com/Dolunay/QuartzAdmin) |
| 61 | +
|
| 62 | +PostgreSql |
| 63 | + ``` |
| 64 | + "ConnectionStrings": { |
| 65 | + "Default": "Host=<db_host>;Port=5432;Database=<db_name>;Username=<db_user>;Password=<db_password>" |
| 66 | + }, |
| 67 | + "Quartz": { |
| 68 | + ... |
| 69 | + "quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.PostgreSQLDelegate, Quartz", |
| 70 | + ... |
| 71 | + "quartz.dataSource.myDS.provider": "Npgsql" |
| 72 | + }, |
| 73 | + "QuartzAdmin": { |
| 74 | + "DataStoreProvider": "PostgreSQL", |
| 75 | + ``` |
| 76 | + MsSql |
| 77 | + ``` |
| 78 | + "ConnectionStrings": { |
| 79 | + "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=SyrnaQuartzAdmin;Trusted_Connection=True" |
| 80 | + }, |
| 81 | + "Quartz": { |
| 82 | + ... |
| 83 | + "quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz", |
| 84 | + ... |
| 85 | + "quartz.dataSource.myDS.provider": "SqlServer" |
| 86 | + }, |
| 87 | + "QuartzAdmin": { |
| 88 | + "DataStoreProvider": "SqlServer", |
| 89 | + ``` |
| 90 | + |
| 91 | +## Screenshots |
5 | 92 |
|
6 | 93 |  |
7 | 94 |  |
|
0 commit comments