Files
spring-cloud-task/spring-cloud-task-samples/timestamp
Michael Minella 2ceb353838 Use spring Boot events to get exit code
Spring Boot now provides the result of an ExitCodeExceptionMapper via an
event called ExitCodeEvent.  This commit takes advantage of this new
event.

Resolves spring-cloud/spring-cloud-task#48
2016-01-22 13:26:32 -06:00
..
2016-01-06 17:35:47 -06:00

= Timestamp Job

This is a Spring Cloud Task application that logs a timestamp.

== Requirements:

* Java 7 or Above

== Classes:

* TaskApplication - the Spring Boot Main Application
* TimestampTask - the module that writes the log entry as Spring Task

== Build:

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

== Run:

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