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

管理后台执行失效操作,但任务还在执行 #189

Closed
cybergeekme opened this issue Dec 3, 2016 · 1 comment
Closed

管理后台执行失效操作,但任务还在执行 #189

cybergeekme opened this issue Dec 3, 2016 · 1 comment
Labels

Comments

@cybergeekme
Copy link

cybergeekme commented Dec 3, 2016

elastic-job-lite-console 版本:2.0.3
操作前状态:运行状态
现象:在管理后台点击“失效”按钮,前台返回操作成功,但是后台任务还在执行,已确认和任务逻辑无关,Job里面什么逻辑都不写也是一样。

@cybergeekme cybergeekme changed the title 管理后台执行失效操作,但任务仍然还在执行 管理后台执行失效操作,但任务还在执行 Dec 3, 2016
@lengfo
Copy link
Contributor

lengfo commented Dec 6, 2016

遇到同样的问题,我是用代码创建的JOB ,不是spring 配置
LiteJobConfiguration liteJobConfiguration = LiteJobConfiguration.newBuilder(jobConfiguration) .overwrite(true) .disabled(true) .monitorExecution(false) .build();

部署后,即使disabled ,任务也会自动执行,必须shutdown任务才能停止。

版本: 2.0.3

@haocao haocao added the bug label Dec 7, 2016
@haocao haocao closed this as completed in 71f278d Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants