From 1de9d4a8d9ca3366d01c2fe103a8c59c10706769 Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Tue, 7 May 2024 15:56:30 +0800 Subject: [PATCH] TASK:mixi; --- .../com/mixi/common/tasks/MiTuExportScheduledTask.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java b/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java index 11b0654..2dbc282 100644 --- a/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java +++ b/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java @@ -316,7 +316,7 @@ public class MiTuExportScheduledTask { * Customer purchase report */ @Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000)) - @Scheduled(cron = "0 0 23 L * * ") + @Scheduled(cron = "0 0 23 L * ? *") public void customerPurchaseReport() { MiTuExport miTuExport = createMiTuExport("Customer purchase report", "month"); try { @@ -417,7 +417,7 @@ public class MiTuExportScheduledTask { * New Join VIP report */ @Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000)) - @Scheduled(cron = "0 0 23 ? * SUN") + @Scheduled(cron = "0 0 23 ? * 7") public void NewJoinVIPReport() { MiTuExport miTuExport = createMiTuExport("New join vip report", "week"); try { @@ -493,7 +493,7 @@ public class MiTuExportScheduledTask { * Weekly Sell Through Report */ @Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000)) - @Scheduled(cron = "0 0 23 ? * SUN") + @Scheduled(cron = "0 0 23 ? * 7") public void weeklySellThrReport() { MiTuExport miTuExport = createMiTuExport("Weekly sell thr report", "week"); try { @@ -594,7 +594,7 @@ public class MiTuExportScheduledTask { * WeeklyHeavyStockReport */ @Retryable(value = Exception.class, maxAttempts = 3, backoff = @Backoff(delay = 1000)) - @Scheduled(cron = "0 0 23 ? * SUN") + @Scheduled(cron = "0 0 23 ? * 7") public void WeeklyHeavyStockReport() { MiTuExport miTuExport = createMiTuExport("Weekly heavy stock report", "week"); try {