This project shows how to use Shedlock spring library to implement a scheduler lock. Know more about scheduler lock and how to create this project step by step in this article: Scheduler Lock Using Shedlock Spring
Clone the repository:
git clone https://github.com/MarcosCarneiro/schedulerlock.git
Enter the project:
cd ./schedulerlock
Run:
./gradlew bootRun
Clone the repository:
git clone https://github.com/MarcosCarneiro/schedulerlock.git
Enter the project:
cd ./schedulerlock
Build the app:
./gradlew clean build
Build the image:
docker build -t marcoscl/shedlock .
Run the container:
docker run -d --name shedlock -p 8080:8080 marcoscl/shedlock