Files
spring-cloud-task/spring-cloud-task-samples/timestamp
2025-05-23 08:53:43 +00:00
..
2025-05-23 08:53: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 Cloud 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
----