Files
spring-cloud-task/spring-cloud-task-samples/timestamp
Glenn Renfro e72c730cbc Update timestamp and batch app tests to check task name
With the latest changes in boot logs include app name and the tests needed to be amended to look at the name value that is returned as a part of the task log
2023-06-22 16:12:37 -04:00
..
2023-06-15 09:41:17 -04:00

= Timestamp Task

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

== Requirements:

* Java 17 or Above

== Classes:

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

== Build:

[source,shell]
----
mvn clean package
----

== Run:

[source,shell]
----
java -jar target/timestamp-task-3.0.0.jar
----

== Native Build:

[source,shell]
----
mvn -Pnative native:compile
----

== Native Run:

[source,shell]
----
./target/timestamp-task
----