Files
spring-cloud-task/spring-cloud-task-samples/batch-job
Michael Minella 0a56672171 Refactored task end event to be Spring Boot's ApplicationReadyEvent
In testing and other use cases, the ability to keep a context open
beyond the end of a task can be useful.  This change provides the
ability to keep the context alive once a task has completed while also
explicitly shutting the context down (by default) once a task has ended.

Resolves spring-cloud/spring-cloud-task#102
2016-04-06 12:24:52 -05:00
..

= Spring Batch Job Task

This is a Spring Cloud Task application that executes two simple Spring Batch Jobs.

== Requirements:

* Java 7 or Above

== Classes:

* BatchJobApplication - the Spring Boot Main Application
* JobConfiguration - the configuration for the Spring Batch jobs

== Build:

[source,shell,indent=2]
----
$ mvn clean package
----

== Run:

[source,shell,indent=2]
----
$ java -jar target/batch-job-1.0.0.BUILD-SNAPSHOT.jar
----