• Stars
    star
    1,448
  • Rank 31,370 (Top 0.7 %)
  • Language
    C#
  • License
    MIT License
  • Created about 6 years ago
  • Updated about 1 year ago

Reviews

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

Repository Details

基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置

LICENSE 996.icu GitHub license

注意:请不要跑在IIS上,因为IIS会自动回收。建议使用docker运行,或者直接用命令dotnet Host.dll。

说明文档

https://github.com/zhaopeiym/quartzui/wiki

演示地址

https://scheduler.haojima.net
默认口令:admin

quartzui

  • 基于.NET5.0和Quartz.NET3.2.4的任务调度Web界面管理。
  • docker方式开箱即用
  • 内置SQLite持久化
  • 支持 RESTful风格接口
  • 业务代码零污染
  • 语言无关
  • 傻瓜式配置
  • 异常请求邮件通知

使用

  • 方式1(docker使用)
docker run -v /fileData/quartzuifile:/app/File  --restart=unless-stopped --privileged=true --name quartzui -dp 5088:80 bennyzhao/quartzui

一行命令开箱即用,赶快体验下docker的便捷吧!
1、其中/fileData/quartzuifile为映射的文件地址,如SQLite数据库和log日志
2、5088为映射到主机的端口
3、直接在浏览器 ip:5088 即可访问。(注意防火墙是否打开了5088端口,或者在主机测试 curl 127.0.0.1:5088)
  • 方式2(docker部署树莓派)
docker run -v /fileData/quartzuifile:/app/File  --restart=unless-stopped --privileged=true --name quartzui -dp 5088:80 bennyzhao/quartzui:RaspberryPi
  • 方式3(可直接通过源码部署到windows或linux平台)

更换数据源

默认使用的是SQLite-Microsoft
如果需要使用其他数据源请自行在appsettings.json进行正确配置。如:

"dbProviderName":"OracleODPManaged",
"connectionString": "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)));User Id=system;Password=oracle;";

"dbProviderName":"SqlServer",
"connectionString": "Server=localhost;Database=quartznet;User Id={SqlServerUser};Password={SqlServerPassword};";

"dbProviderName":"SQLServerMOT",
"connectionString": "Server=localhost,1444;Database=quartznet;User Id={SqlServerUser};Password={SqlServerPassword};"

"dbProviderName":"MySql", // MySql 测试通过
"connectionString": "Server = localhost; Database = quartznet; Uid = quartznet; Pwd = quartznet";

"dbProviderName":"Npgsql", // Npgsql 测试通过
"connectionString": "Server=127.0.0.1;Port=5432;Userid=quartznet;Password=quartznet;Pooling=true;MinPoolSize=1;MaxPoolSize=20;Timeout=15;SslMode=Disable;Database=quartznet";

"dbProviderName":"SQLite",
"connectionString": "Data Source=test.db;Version=3;";

"dbProviderName":"SQLite-Microsoft", // SQLite-Microsoft 测试通过
"connectionString": "Data Source=test.db;";

"dbProviderName":"Firebird",
"connectionString": "User=SYSDBA;Password=masterkey;Database=/firebird/data/quartz.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;";

效果图

1 2 3 4 5

More Repositories

1

IoTClient

This is an IoT device communication protocol implementation client, which will include common industrial communication protocols such as mainstream PLC communication reading, ModBus protocol, and Bacnet protocol. This component is open source and free for life, using the most relaxed MIT open source agreement, you can modify and commercial use at will (commercial use please evaluate and test). 这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
C#
928
star
2

BlogDemoCode

博客中的一些示例代码
JavaScript
242
star
3

IoTClient.Examples

C#
138
star
4

JobWanted

找工作 (喜欢就赏颗星星呗!) 【演示地址】:http://job.haojima.net
C#
128
star
5

Hi-Blogs

嗨博客 ASP.NET Core2.0 + CentOS7.3 + MySql5.6.37 + Redis + nginx1.12.1
C#
84
star
6

Talk

公共类库、快速开发(一些整理、封装和造的轮子)
C#
68
star
7

ShortURL

短网址生成器,演示地址:http://t.haojima.net/
C#
56
star
8

LoveCollection

我们搞技术的经常会要收藏些链接、资料什么的。但是,由于资料过多,浏览器的收藏夹并不便于管理,于是就诞生了“爱收藏”。https://i.haojima.net
JavaScript
41
star
9

ChatRoom

聊天室
JavaScript
30
star
10

project-template

asp.net core 快速开发项目模版 演示地址:https://code.haojima.net
C#
13
star
11

Boilerplate

asp.net core 项目模版生成器 演示地址:https://code.haojima.net
C#
9
star
12

Wheel

有时间造造轮子啊~~~(前端自己写一些插件、组件什么的)
HTML
4
star