Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

控制台提供作业启用/禁用按钮操作 #84

Closed
jxctx88 opened this issue Apr 26, 2016 · 3 comments
Closed

控制台提供作业启用/禁用按钮操作 #84

jxctx88 opened this issue Apr 26, 2016 · 3 comments

Comments

@jxctx88
Copy link

jxctx88 commented Apr 26, 2016

simpleJob.disabled=true
simpleJob.overwrite=true
这样设置后,在控制台也不能启动了

@jxctx88 jxctx88 changed the title 作用开始是禁用启动,然后在控制台也不能启动 作业开始是禁用启动,然后在控制台也不能启动 Apr 26, 2016
@fzsens
Copy link

fzsens commented Apr 28, 2016

控制台中的恢复,是特定对停止(stop)而言的,具体是删除Zk在~/servers/ip/下的stoped节点。
而disabled属性,作用应该是设定作业为不可以用,在初始化ServerService的时候会在Zk的~/services/ip/下添加disabled节点,标识该机器对应的job是不可用的。
你可以手工删除对应的disabled节点,观察下结果。

@gl2001wl
Copy link
Contributor

提交了一个pull request可以看下:
#86
我们也有这个需求,启动的时候某些job或者server默认不启动,后续需要动态调整

@terrymanu
Copy link
Member

已merge, 感谢贡献代码

@terrymanu terrymanu changed the title 作业开始是禁用启动,然后在控制台也不能启动 [Improvement] 控制台提供作业启用/禁用按钮操作 May 11, 2016
@terrymanu terrymanu changed the title [Improvement] 控制台提供作业启用/禁用按钮操作 控制台提供作业启用/禁用按钮操作 Jul 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants