Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ ct Public
forked from taihedeveloper/ct

太合定时任务管理系统,目前管理着1000+台服务器的500+个任务组

Notifications You must be signed in to change notification settings

88886/ct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

ct全称crontab task,既常说的定时任务。

后端服务ctagent用很轻量级的go实现,主要作用是管理定时任务,并在该执行的时间点去执行,然后把执行结果发送给前端,而定时任务的增删改查由前端服务维护,有变更的时候给ctagent发消息,然后ctagent做相应的调整,它本身并不维护这些任务,而是每一次启动只要从前端拉取所有的定时任务信息。

启动只需要bash start_prod.sh,记得修改log的配置路径

配置文件解释

server.port=889 //端口 log.interval.spec=00 * * * * //任务crontab格式 api.task.url=http://192.168.1.42:8888/cttask/cttask/task/api?host_ip= //重启获取所有task链接 后面拼机器ip api.log.url=http://192.168.1.42:8888/cttask/tasklog/api //post执行结果链接

前端是用php实现,目前运行环境需要odp环境,还需要数据库保存所有ct任务以及机器和机器组。界面很清晰简单。

About

太合定时任务管理系统,目前管理着1000+台服务器的500+个任务组

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.0%
  • Go 8.9%
  • Smarty 1.5%
  • JavaScript 0.4%
  • CSS 0.2%
  • Makefile 0.0%

AltStyle によって変換されたページ (->オリジナル) /