diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 64ebfb059..0bdf413df 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -160,7 +160,7 @@ func IsImportantTaskRunning(taskName string) bool { } func Init() { - globals.SugarLogger.Debug("-----------------30s跑一次", time.Now(),globals.IsProductEnv()) + globals.SugarLogger.Debug("-----------------30s跑一次", time.Now(), globals.IsProductEnv()) if globals.IsProductEnv() { //ScheduleTimerFunc("doDailyWork2", doDailyWork2, dailyWorkTimeList2) @@ -178,8 +178,7 @@ func Init() { ScheduleTimerFuncByInterval(func() { delivery.GetOrderRiderInfoToPlatform("") globals.SugarLogger.Debug("五分钟跑一次", time.Now()) - }, 10*time.Second, 5*time.Minute) - + }, 10*time.Second, 30*time.Second) ScheduleTimerFuncByInterval(func() { defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)