From 624a46def7ab91b309cf1e8cfa3e536d36026e69 Mon Sep 17 00:00:00 2001 From: mindol1004 Date: Tue, 26 Nov 2024 15:14:07 +0900 Subject: [PATCH] commit --- .../src/main/java/com/spring/infra/quartz/QuartzConfig.java | 2 +- batch-quartz/src/main/resources/application.yml | 2 +- .../src/main/resources/static/js/pages/dashboard/dashboard.js | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/batch-quartz/src/main/java/com/spring/infra/quartz/QuartzConfig.java b/batch-quartz/src/main/java/com/spring/infra/quartz/QuartzConfig.java index 0801a41..b4b2923 100644 --- a/batch-quartz/src/main/java/com/spring/infra/quartz/QuartzConfig.java +++ b/batch-quartz/src/main/java/com/spring/infra/quartz/QuartzConfig.java @@ -94,7 +94,7 @@ public class QuartzConfig { factory.setDataSource(dataSource); factory.setTransactionManager(transactionManager); factory.setJobFactory(jobFactory); - factory.setAutoStartup(false); + factory.setAutoStartup(true); factory.setWaitForJobsToCompleteOnShutdown(true); return factory; } diff --git a/batch-quartz/src/main/resources/application.yml b/batch-quartz/src/main/resources/application.yml index 1a65d51..efeba64 100644 --- a/batch-quartz/src/main/resources/application.yml +++ b/batch-quartz/src/main/resources/application.yml @@ -8,7 +8,7 @@ spring: devtools: restart: enabled: false - add-properties: false + add-properties: false application: name: spring-batch-quartz datasource: diff --git a/batch-quartz/src/main/resources/static/js/pages/dashboard/dashboard.js b/batch-quartz/src/main/resources/static/js/pages/dashboard/dashboard.js index 06181d4..e422ba9 100644 --- a/batch-quartz/src/main/resources/static/js/pages/dashboard/dashboard.js +++ b/batch-quartz/src/main/resources/static/js/pages/dashboard/dashboard.js @@ -236,7 +236,9 @@ const renderDailyJobExecutionsChart = (data) => { ...chartOptions.plugins, tooltip: { callbacks: { - title: (context) => luxon.DateTime.fromJSDate(context[0].parsed.x).toFormat('yyyy-MM-dd') + title: (context) => { + luxon.DateTime.fromJSDate(context[0].parsed.x).toFormat('yyyy-MM-dd'); + } } } },