Code Monkey home page Code Monkey logo

doak-cron's Introduction

doak-cron

使用 go 实现的计划任务管理,支持脚本和 curl 请求两种方式

项目介绍

  • 使用 go 实现的计划任务管理
  • 最小设置单位为秒

使用方法

  1. 构建对应系统的文件。交叉编译可查看文档 /docs/go-build.md
go build main.go
  1. 使用

执行计划任务。加 --debug 会记录返回的数据

main.exe cron --conf="./cron.json" --debug

查看当前版本号

main.exe cron version
  1. 配置使用

cron.json 为计划任务配置文件。当前支持脚本和 curl 两种方式

使用预览

doak-cron

特别鸣谢

感谢以下的项目,排名不分先后

  • github.com/urfave/cli

  • github.com/robfig/cron

  • github.com/go-resty/resty

  • github.com/rs/zerolog

  • github.com/spf13/cast

  • github.com/jedib0t/go-pretty

开源协议

  • doak-cron 遵循 Apache2 开源协议发布,在保留本系统版权的情况下提供个人及商业免费使用。

版权

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.