Releases: shunfei/cronsun
Releases · shunfei/cronsun
v0.3.5
v0.3.4
Changelogs
- [FEATURE] Support
@at 2018-09-30 14:18:30
. Like linux commandat
, run job at special time once.
- [ENHANCEMENT] Show job's next schedule time in job list UI.
- [BUGFIX] Log filter checkbox can't select.
更详细的中文说明见v0.3.4更新说明
How to upgrade
- Download and replace
cronweb
& allcronnode
; - Restarts;
v0.3.3
v0.3.2
Changelogs
- Added pid file(work on cronnode)
- Added new read-only role
Reporter
- csctl: Added new command (use
csctl node --help
to get more details)
How to upgrade
- Download and replace
cronweb
&cronnode
; - Optional: add
"PIDFile": "/tmp/cronsun/cronnode_pid",
to your base.json, if you are looking for a pid file(more details)! - Restarts;
v0.3.1
Changelogs
- Added settings sidebar
- Added IP for node shows
How to upgrade
- For version
0.3.0pre
- Download and replace cronweb & cronnode with
v0.3.1
; - Restart cronweb & cronnode;
- Execute command below:
- Download and replace cronweb & cronnode with
csctl upgrade --prever=0.3.0 --conf={path/to/base.json}
- For version
0.2.3
- Download cronweb & cronnode with
v0.3.1
; - See the v0.3.0pre release note, and upgrade step by step
- Done
- Download cronweb & cronnode with
v0.3.0pre
更新日志
添加命令行工具 csctl
改用 UUID 代替 IP 作为节点ID来标识一个节点
界面改用 hostname 代替 IP
UI 细节改善
修复分页组件 bug
修复更改分组引起节点 panic 的问题
修复定时器中节点规则的 bug
修复单机单进程类型任务可能不按时执行的 bug (by @shayin)
修复 etcd 部分配置字段不生效问题
修复 smtp 连接关闭问题
修复 event 包空事件处理
如何升级:
升级前的工作:
- 备份数据
# 请将 --conf 修改为你自己保存的 base.json 文件的路径
# --file 为备份文件路径,会自动加上 .zip 后缀,这里不需要写后缀
csctl backup --conf={/path/to/base.json} --dir=./ --file=cronsun_data
base.json
新增配置项UUIDFile
,通过指定一个路径用于保存节点 UUID,UUID 在新版本cronnode
首次启动生成,并且一直不会改变,是节点的唯一标识,请不要修改它。请保证程序有足够权限写入文件。
升级
- 关闭所有节点,并更新二进制文件
- 只启动所有的
cronnode
- 升级数据
# 在启动所有 cronnode 节点之后,各节点会生成 UUID,UUID 和 IP 一一映射
# 此命令会把任务/分组/日志的 IP 进行替换为 UUID
csctl upgrade --conf={/path/to/base.json} --prever=0.2.3
- 启动
cronweb
v0.2.3
- Log cleaner.
- Update dashboard page ui.
- Batch start/pause operation.
- Added pid file.
- Minor bug fixes.
How to upgrade
Add new log configuration to web-node's conf/files/web.json
"#comment": "Delete the expired log (which store in mongodb) periodically",
"LogCleaner": {
"#comment": "if EveryMinute is 0, the LogCleaner will not run",
"EveryMinute": 0,
"ExpirationDays": 3
}
Add a none empty configuration PIDFile
to base.json
to generate a pid file, just work on cronnode
check full config sample.
- sync config files to all the nodes.
- replace all the
cronnode
bin file in all the nodes, and restart. - replace
cronweb
bin file in web node, and restart.
v0.2.2
- Support complex arguments.
- The node which state in offline or damaged now can be remove from the ui.
- Minor bug fixes.