Make Quartz Scheduler as Service

北慕城南 提交于 2019-12-11 11:26:09

问题


I have implemented a Quartz Job scheduler to call one java process for every 30 sec which is working fine.To start the scheduler ,what i am doing is , create bat file contains java - jar "MainJava.jar".Once we click the jobScheduler.bat file ,job is started but the problem is if any one close window,job is stoped.So to avoid this kind of issue ,is there any option to start and stop the quartz scheduler using command prompt for Eg:

if i say "start jobScheduler from command line" job has to start.Job has to stop only while issuing the stop jobScheduler from command prompt"

来源:https://stackoverflow.com/questions/11138711/make-quartz-scheduler-as-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!