GithubHelp home page GithubHelp logo

quartz-monitor's Introduction

quartz-monitor

quartz-monitor 是一个基于DWZ的Quartz管理工具,可以实时动态的管理Job和trigger,具体功能主要包括:

  1. 配置管理 针对不同环境的Quartz,需要有一个统一的入口去管理这些配置,来满足对不同环境的任务的管理。
  2. Job管理 提供对Job的管理和维护功能。Monitor提供对Job的基本管理,包括对其状态、执行时间、基本信息的管理以及提供基于Job的基本操作。
  3. Trigger管理 提供对trigger的管理和维护功能。可以查看某个job的trigger信息,并添加和修改trigger。
  4. Cron Expression校验 Cron Expression虽然简单却非常容易写错,所以我们提供了对其的校验功能。

配置方法:

1)配置quartz支持JMX

在需要管理的应用的quartz.properties中加入配置:

org.quartz.scheduler.jmx.export = true

2)配置应用容器支持JMX

比如我使用的是TOMCAT,并且在Linux上,我需要往catalina.sh中加入:

JAVA_OPTS='-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=2911 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dorg.quartz.scheduler.jmx.export=true'

3)配置Quartz-Monitor

将quartz-monitor放入tomcat,配置好远程quartz的jmx信息,如jmx端口和ip,即可使用。

quartz-monitor's People

Contributors

java10000 avatar xishuixixia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.