An open API service indexing awesome lists of open source software.

https://github.com/callicoder/spring-boot-scheduler-example

The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation
https://github.com/callicoder/spring-boot-scheduler-example

scheduler spring-boot

Last synced: about 2 months ago
JSON representation

The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation

Awesome Lists containing this project

README

        

# Spring Boot Task Scheduling Example

Learn how to schedule tasks with Spring Boot -

https://www.callicoder.com/spring-boot-task-scheduling-with-scheduled-annotation/

## Requirements

1. Java - 11

2. Maven - 3.x.x

## Steps to setup

**1. Clone the application**

```bash
git clone https://github.com/callicoder/spring-boot-scheduler-example.git
```

**2. Build and run the app using maven**

```bash
cd spring-boot-scheduler-example
mvn package
java -jar target/scheduler-demo-0.0.1-SNAPSHOT.jar
```

You can also run the app without packaging it using -

```bash
mvn spring-boot:run
```