diff --git a/internal/web_server/cron.go b/internal/web_server/cron.go index 021cf88..8d45a17 100644 --- a/internal/web_server/cron.go +++ b/internal/web_server/cron.go @@ -158,8 +158,7 @@ func ProcessBetCashback(ctx context.Context, betService *betSvc.Service) { task func() }{ { - spec: "*/10 * * * * *", // 10 seconds for testing - // spec: "0 0 0 * * *", // Daily at midnight + spec: "0 0 0 * * *", // Daily at midnight task: func() { log.Println("process bet cashbacks...") if err := betService.ProcessBetCashback(ctx); err != nil {