Coder Social home page Coder Social logo

kerwinzxc / ppgo_job Goto Github PK

View Code? Open in Web Editor NEW

This project forked from george518/ppgo_job

0.0 1.0 0.0 18.16 MB

PPGo_Job是一款可视化的、多人多权限的定时任务管理系统,采用golang开发,安装方便,资源消耗少,支持大并发,可同时管理多台服务器上的定时任务。

Go 86.58% PLpgSQL 7.96% Shell 0.06% Smarty 4.18% CSS 1.21%

ppgo_job's Introduction

PPGo_Job定时任务管理系统 V2.0

PPGo_Job是一款定时任务可视化的、多人多权限的管理系统,采用golang开发,安装方便,资源消耗少,支持大并发,可同时管理多台服务器上的定时任务。

前言:PPGo_Job V1.x版本开源一年多,好几个朋友的公司都在用,反响还不错,当然,也有好多朋友提了不少合理的意见和建议,所以这次干脆重构了一下,连UI也重新编码。目前V2.0版本 已经用于生产环境。

码云地址:https://gitee.com/georgehao/PPGo_Job Github地址:https://github.com/george518/PPGo_Job

文档地址:http://www.haodaquan.com/topics/1### Wiki:https://github.com/george518/PPGo_Job/wiki

V1.x版本是一个简单的定时任务管理系统,进入V1.0 :https://github.com/george518/PPGo_Job/releases/tag/v1.2.1 相对于V1.x版本,V2.0新增以下功能和特性:

  • 1、全新UI,基于LayUI2.3构建全新页面,后端模板手工搭建,让操作更加人性化。后台模板地址:https://github.com/george518/PP_admin-template
  • 2、新增权限管理功能,根据菜单权限、操作权限和数据权限进行划分,方便多用户多权限管理定时任务。
  • 3、新增服务器复制功能,让服务器资源添加更加方便。
  • 4、新增定时任务详情页面,将任务相关操作更加集中起来操作。
  • 5、新增任务审核功能,提高任务的管控能力。
  • 6、新增禁止命令管理功能,配合任务审核功能,提高任务运行安全性。
  • 7、优化日志详情页面,查看日志更方便。

感觉不错的话,给个星星吧 :)

也可以请我喝水

github

先看效果

image image image image image image image

安装方法

方法一、 编译安装

  • go get github.com/george518/PPGo_Job
  • 创建mysql数据库,并将ppgo_job2.sql导入
  • 修改config 配置数据库
  • 运行 go build
  • 运行 ./run.sh start|stop

方法二、直接使用

linux

  • 进入 https://github.com/george518/PPGo_Job/releases
  • 下载 ppgo_job-linux-2.1.0.zip 并解压
  • 进入文件夹,设置好数据库(创建数据库,导入ppgo_job2.sql)和配置文件(conf/app.conf)
  • 运行 ./run.sh start|stop

mac

windows

  • 暂不支持

访问方式

前台访问:http://your_host:8080 用户名:admin 密码:123456

配置文件

根据自己的情况修改数据库和启动端口

appname = PPGo_Job2
httpport = 8080
runmode = dev

version= V2.2

# 允许同时运行的任务数
jobs.pool = 1000

# 站点名称
site.name = 定时任务管理器

#通知方式 0=邮件,1=信息
notify.type = 0


# 数据库配置
db.host = 127.0.0.1
db.user = root
db.password = "123456"
db.port = 3306
db.name = ppgo_job2
db.prefix = pp_
db.timezone = Asia/Shanghai

# 邮件通知配置
email.host = smtp.mxhichina.com
email.port = 25
email.from = [email protected]
email.user = [email protected]
email.password = "xxxxxx"
email.pool = 10


# 短信通知方式配置
msg.url = http://chanxiyou.com/api/tools/send_sms
msg.pool = 10

编译安装-可能会遇到的问题

go build 时遇到以下错误: jobs/job.go:19:2: cannot find package "golang.org/x/crypto/ssh" in any of:

需要 git clone https://github.com/golang/crypto.git 并拷贝到 $GOPATH/src/golang.org/x/ 下就OK

联系我

qq群号:547564773 欢迎交流,欢迎提交代码。

ppgo_job's People

Contributors

george518 avatar gongwalker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.