TASK:mixi;

This commit is contained in:
shahaibo
2024-05-07 15:56:30 +08:00
parent 5b3ea06d70
commit 1de9d4a8d9

View File

@@ -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 {