Files
spring-cloud-task/spring-cloud-task-samples/timestamp
2022-10-25 00:15:43 +00:00
..
2022-10-25 00:15:43 +00: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 clean package
----

== Native Run:

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