Files
spring-cloud-task/spring-cloud-task-samples/timestamp/README.adoc
Glenn Renfro 7be3a88826 SCT-23 Added sample apps for Spring Cloud Task
* Timestamp  Demonstrates a Spring boot/task application as a single java file.
* HelloWorld Demonstrates a Spring boot/task application using java configuration.

resolves spring-cloud/spring-cloud-task#23
2015-12-17 10:22:26 -06:00

27 lines
423 B
Plaintext

= 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
----