diff --git a/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt b/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt index 0f74c0b..6cf526d 100644 --- a/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt +++ b/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt @@ -69,8 +69,7 @@ class HeroStatisticsJob( val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss") val message = """ - $title - - targetDate: ${fromDate.format(formatter)} ~ ${toDate.format(formatter)} + $title [${fromDate.format(formatter)} ~ ${toDate.format(formatter)}] 그룹 - 그룹 생성수 : $groupCount diff --git a/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt b/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt index cc3da5a..5f6a511 100644 --- a/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt +++ b/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt @@ -20,7 +20,7 @@ class HeroStatisticsScheduler( val fromDate = LocalDateTime.now().minusHours(1) heroStatisticsJob.sendHeroStatistics( - title = "극락통계 1시간 단위 [$fromDate ~ $toDate]", + title = "극락통계 1시간 단위", fromDate = fromDate, toDate = toDate ) @@ -34,7 +34,7 @@ class HeroStatisticsScheduler( val fromDate = LocalDateTime.now().minusDays(1) heroStatisticsJob.sendHeroStatistics( - title = "극락통계 1일 단위 [$fromDate ~ $toDate]", + title = "극락통계 1일 단위", fromDate = fromDate, toDate = toDate )