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

https://github.com/making/spring-boot-batch-multi-jobs


https://github.com/making/spring-boot-batch-multi-jobs

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

### Build

```
$ ./mvnw clean package -DskipTests=true
```

### Run all jobs

```
$ java -jar target/spring-boot-batch-multi-jobs-0.0.1.RELEASE.jar
```

### Run only specified jobs

#### Only job1

```
$ java -jar target/spring-boot-batch-multi-jobs-0.0.1.RELEASE.jar --spring.batch.job.names=job1
```

#### Only job2

```
$ java -jar target/spring-boot-batch-multi-jobs-0.0.1.RELEASE.jar --spring.batch.job.names=job2
```

#### job1 and job2

```
$ java -jar target/spring-boot-batch-multi-jobs-0.0.1.RELEASE.jar --spring.batch.job.names=job1,job2
```