Gocron – Web management system for scheduled tasks

Project introduction

A centralized scheduling and management system for scheduled tasks developed by Go language, used to replace linux-crontab project address to view documents

features

  • Support task CURD

  • Crontab time expression, accurate to the second

  • Retry setting when the task fails to be executed

  • Task Timeout Setting

  • Task execution mode

    • Invokes native system commands

    • Run remote commands over SSH

    • Perform the HTTP-get request

  • View task execution logs

  • Task execution result notification, including email and Slack

screenshots



Support platform

Windows, Linux, OSX

Environmental requirements

MySQL

The installation

Binary installation

  1. Download and unzip the package

  2. CD Decompressed directory

  3. Start the

    • Windows: gocron.exe web

    • Linux, OSX:./ Gocron Web

  4. Browser visit http://localhost:5920

The source code to install

  1. Go version 1.7+

  2. go get -d https://github.com/ouqiang/gocron

  3. Compile the go build

  4. The startup and access methods are the same as above

  5. Generate compressed packages (Windows: Gocron.zip, other platforms: Gocron.tar.gz)

Sh -p Platform -a CPU architecture example./build.sh -p Darwin -a AMD64

Start This parameter is optional

  • -p indicates the specified port. The default port is 5920

  • – e specified operating environment, dev | test | prod, dev mode to view more log information, the default prod

  • -h Displays help information

security

  • HTTPS access ensures data transmission security. You can configure HTTPS on a Web server such as Nginx to access the internal Gocron through a reverse proxy

  • Set the IP address whitelist for website access

  • Set the IP address whitelist for SSH login