GithubHelp home page GithubHelp logo

smuralee / spring-batch-quartz-admin Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 18.0 322 KB

Spring Batch scheduling using Quartz

License: Apache License 2.0

Java 83.89% FreeMarker 15.75% Dockerfile 0.36%
spring-batch-admin scheduling quartz

spring-batch-quartz-admin's Introduction

Spring Batch Admin EOL

Spring Batch Admin has reached their end of life and not recommended for new projects. Spring Cloud Data Flow is the recommended replacement for managing and monitoring Spring Batch jobs going forward. You can read more about migrating to Spring Cloud Data Flow here.

Spring Batch Admin with Quartz implementation

This project incorporates the Quartz scheduler along with the Spring Batch admin. A new page "Quartz" is setup for accepting the CRON expression for the scheduling of the application.

Building the project

The project can be built as a Docker container, exposed on port 9001

docker-compose up --build

Accessing the application

  • Navigate to http://localhost:9001/spring-batch-quartz-admin/
  • Browse to the Quartz tab. You can schedule the sample job and look at the executions as well

Sample Job

Schedule Job

Executions

spring-batch-quartz-admin's People

Contributors

dependabot[bot] avatar smuralee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spring-batch-quartz-admin's Issues

Scheduling message missing

Steps:

  1. Schedule a job using quartz.
  2. After scheduling the status is not displayed on real time.
  3. No tracking mechanism to verify if a job is already scheduled or not.

Cannot locate datasouce.

Hi,

I cloned your project and now I am trying to add my custom jobs that i have in a separate spring batch boot application to this cloned app. However i cannot locate the dataSource bean or transactionManager bean. I am using Hibernate JPA too. can you please let me know how to modify my datasource and transaction manager?

Upgrade to spring 4.x and test classes.

I upgraded the spring version to 4.3.8 but now when i run the project the server crashes with a No Class Def found for EventListener. Can you upgrade the project to use 4.3.8 and include a sample test class that can test one of the services?

Exception while loading the app

Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [errorChannel] with key 'errorChannel'; nested exception is org.springframework.jmx.export.MBeanExportException: Could not create ModelMBean for managed resource [errorChannel] with key 'errorChannel'; nested exception is java.lang.IllegalArgumentException: MetadataMBeanInfoAssembler does not support JDK dynamic proxies - export the target beans directly or use CGLIB proxies instead

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.