This document describes how to create, change and cancel job scheduler with UI screens using reactJS and spring boot.
The technologies used in this application are given below.
Front End
* ReactJS
* Typescript
* Webpack
Back End
* Maven
* Spring Boot
* Spring Data JPA
* Quartz Scheduler
* H2 DB (InMemory)
Make sure to install below tools and set the path in the system before proceeding to quick deployments.
maven requires JAVA_HOME variable, kindly follow the path setup given below.
set PATH=path/to/JDK/bin;%PATH%
set JAVA_HOME=path/to/JDK
set PATH=path/to/Maven/bin;%PATH%
export PATH=path/to/JDK/bin:$PATH
export JAVA_HOME=path/to/JDK
export PATH=path/to/Maven/bin:$PATH
In order to check the priority job execution, I have considered frequency as corn expression (String) because I have tried considering frequency as seconds (number) but there is a difference in seconds / milliseconds while trying to create same Job frequency twice.
If you have the GIT you can clone the application using below link else use the direct download link.
git clone https://github.com/mohancse1707/mk-scheduler-webapp.git
After setting Java & Maven in path, execute the below command to start the application.
mvn spring-boot:run
once started hit this URL: http://localhost:8080/scheduler/#/
Execute the below commands in separate terminal.
Terminal#1: mvn spring-boot:run
Terminal#2: npm install && npm run start