Set Spring Cloud Task Date Strategy to match Batch
resolves #868 Signed-off-by: Glenn Renfro <grenfro@vmware.com> Updated the timestamps for H2,oracle, db2, hsqldb to be 9 digits for improved accuracy
This commit is contained in:
@@ -59,7 +59,7 @@ public class TaskApplication {
|
||||
private TimestampTaskProperties config;
|
||||
|
||||
@Override
|
||||
public void run(String... strings) throws Exception {
|
||||
public void run(String... strings) {
|
||||
DateFormat dateFormat = new SimpleDateFormat(this.config.getFormat());
|
||||
logger.info(dateFormat.format(new Date()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user