cronsun is a distributed cron-style job system. It's similar with crontab on stand-alone *nix.
The goal of this project is to make it much easier to manage jobs on lots of machines and provides high availability.
cronsun is different from Azkaban, Chronos, Airflow.
cronsun has been tested in production for years on hundreds of servers.
Although the current version is not release as an stable version, but we think it is completely available for the production environment.
We encourage you to try it, it's easy to use, see how it works for you. We believe you will like this tool.
[web]
|
--------------------------
(add/del/update/exec jobs)| |(query job exec result)
[etcd] [mongodb]
| ^
-------------------- |
| | | |
[node.1] [node.2] [node.n] |
(job exec fail)| | | |
[send mail]<-----------------------------------------(job exec result)
cronsun support security with security.json config. When open=true, job command is only allow local files with special extension on the node.
{
"open": true,
"#users": "allowed execution users",
"users": [
"www", "db"
],
"#ext": "allowed execution file extensions",
"ext": [
".cron.sh", ".cron.py"
]
}
Install from binary latest release
Or build from source, require go >= 1.11+.
NOTE: The branch
masteris not in stable, using Cronsun for production please checkout corresponding tags.
export GO111MODULE=on
go get -u github.com/shunfei/cronsun
cd $GOPATH/src/github.com/shunfei/cronsun
go mod vendor
sh build.sh
conf/etcd.json) and MongoDB(conf/db.json) configurations./cronnode -conf conf/base.json, start cronweb: ./cronweb -conf conf/base.jsonhttp://127.0.0.1:7079 in browseradmin@admin.com and password adminBrief:

Exec result:

Job:


Node:

cron is base on robfig/cron
$ claude mcp add cronsun \
-- python -m otcore.mcp_server <graph>