Skip to content

Releases: shunfei/cronsun

v0.3.5

20 Nov 13:37
Compare
Choose a tag to compare

Changelogs

  • [BUGFIX] node group del #115
  • [BUGFIX] mongodb auth config add authSource support

v0.3.4

18 Oct 03:48
Compare
Choose a tag to compare

Changelogs

  • [FEATURE] Support @at 2018-09-30 14:18:30 . Like linux command at, run job at special time once.
    image
  • [ENHANCEMENT] Show job's next schedule time in job list UI.
    image
  • [BUGFIX] Log filter checkbox can't select.
    image

更详细的中文说明见v0.3.4更新说明

How to upgrade

  1. Download and replace cronweb & all cronnode;
  2. Restarts;

v0.3.3

26 Sep 08:10
Compare
Choose a tag to compare

Changelogs

  • [FEATURE] Force kill a running job
  • [BUGFIX] Fix panic due to unexpected context error (solved after upgrading grpc dependencies)
  • [ENHANCEMENT] Minor bug fixes and enhancement

How to upgrade

  1. Download and replace cronweb & cronnode;
  2. Restarts;

v0.3.2

10 Jun 14:40
9bb382d
Compare
Choose a tag to compare

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

  1. Download and replace cronweb & cronnode;
  2. Optional: add "PIDFile": "/tmp/cronsun/cronnode_pid", to your base.json, if you are looking for a pid file(more details)!
  3. Restarts;

v0.3.1

19 Mar 07:57
Compare
Choose a tag to compare

Changelogs

  • Added settings sidebar
  • Added IP for node shows

How to upgrade

  • For version 0.3.0pre
    1. Download and replace cronweb & cronnode with v0.3.1;
    2. Restart cronweb & cronnode;
    3. Execute command below:
csctl upgrade --prever=0.3.0 --conf={path/to/base.json}
  • For version 0.2.3
    1. Download cronweb & cronnode with v0.3.1;
    2. See the v0.3.0pre release note, and upgrade step by step
    3. Done

v0.3.0pre

08 Mar 10:35
Compare
Choose a tag to compare
v0.3.0pre Pre-release
Pre-release

更新日志

添加命令行工具 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 首次启动生成,并且一直不会改变,是节点的唯一标识,请不要修改它。请保证程序有足够权限写入文件。

升级

  1. 关闭所有节点,并更新二进制文件
  2. 只启动所有的 cronnode
  3. 升级数据
# 在启动所有 cronnode 节点之后,各节点会生成 UUID,UUID 和 IP 一一映射
# 此命令会把任务/分组/日志的 IP 进行替换为 UUID
csctl upgrade --conf={/path/to/base.json}  --prever=0.2.3
  1. 启动 cronweb

v0.2.3

22 Dec 06:27
1848f71
Compare
Choose a tag to compare
  • 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.

  1. sync config files to all the nodes.
  2. replace all the cronnode bin file in all the nodes, and restart.
  3. replace cronweb bin file in web node, and restart.

v0.2.2

24 Oct 06:29
Compare
Choose a tag to compare
  • Support complex arguments.
  • The node which state in offline or damaged now can be remove from the ui.
  • Minor bug fixes.

v0.2.1

14 Sep 02:33
Compare
Choose a tag to compare
  • Embedded static assets, no long need ui directory with deploy.
  • Fix en-* environment bug #26 .
  • Fix some small ui bug.

v0.2

04 Jul 02:48
Compare
Choose a tag to compare
  • Add auth login
  • Fix log caller & level

Update this release for fix #24