Ppgo_job Distributing the scheduled task system across servers V2.0

Source: Internet
Author: User

ppgo_job2.0 Release

Preface: Ppgo_job v1.x version Open source for more than a year, several friends of the company are in use, the repercussions are good, of course, there are many friends have made a lot of reasonable comments and suggestions, so this time simply refactoring, even the UI is re-encoded. The v2.x version is now available in production environments.

GitHub Address:

Https://github.com/george518/PPGo_Job

The v1.x version is a simple scheduled task management system that enters v1.0:https://github.com/george518/ppgo_job/releases/tag/v1.2.1 relative to the v1.x version, v2.x adds the following Features and features:

-1, the new UI, based on LayUI2.3 to build a new page, the back-end template manually built, so that the operation more humane. Background template address: https://github.com/george518/PP_admin-template

-2, new rights management function, according to the menu permissions, operation rights and data permissions to divide, convenient multi-user multi-rights management scheduled tasks.

-3, add server replication function, make the server resources added more convenient.

-4, the New Time Task Details page, the task related operations more centralized operation.

-5, new task audit function, improve the management and control ability of the task.

-6, New Prohibition command management function, with task audit function, improve the security of task operation.

-7, optimize the Log Details page, to view the log more convenient.

If it feels good, give it to a star:)

First look at the effect

Installation method

Method one, compile and install

Go get github.com/george518/ppgo_job

Create the MySQL database and import the Ppgo_job2.sql

Modifying the config configuration database

Run Go Build

Run./run.sh start|stop

Method two, direct use

Linux

Enter https://github.com/george518/PPGo_Job/releases

Download Ppgo_job-linux-2.1.0.zip and Unzip

Go to folder, set up database (CREATE DATABASE, import Ppgo_job2.sql) and configuration file (conf/app.conf)

Run./run.sh start|stop

Mac

Enter https://github.com/george518/PPGo_Job/releases

Download Ppgo_job-mac-2.1.0.zip and Unzip

Go to folder, set up database (CREATE DATABASE, import Ppgo_job2.sql) and configuration file (conf/app.conf)

Run./run.sh start|stop

Windows

Not supported, can compile on its own

Access mode

Front Desk access: http://your_host:8080 user name: admin password: 123456

Configuration file

Modify the database and boot port to your own situation

AppName = PPGO_JOB2

Httpport = 8080

RunMode = Dev

# Number of tasks allowed to run concurrently

Jobs.pool = 1000

# Site Name

Site.name = Timed Task Manager

# Database Configuration

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

Compile and install-problems you may encounter

Go build encountered the following error: Jobs/job. Go:19:2: Cannot find package ' golang.org/x/crypto/ssh ' in any of: Requires Git clone https://github.com/golang/crypto.git and copied to OK, $GOPATH/src/golang.org/x/.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.