diff --git a/cron/cron.go b/cron/cron.go index 1e2dc64df19656e6c674606930577f00784c6d89..6ea30f9fa9c3bf5314374f13c934a890f1116608 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -18,7 +18,8 @@ func Init() { group_cron.GroupPowerExpClear() // 清理家族经验/等级 group_cron.GroupPowerMonthRankAct() //group_cron.GroupInEventInit() // 进房事件 - group_cron.GroupPowerGradeExp() // 家族升级(上麦事件会用到) todo - group_cron.CreateGroup() // - group_cron.CalcGroupSupport() // 群组扶持计算 + group_cron.GroupPowerGradeExp() // 家族升级(上麦事件会用到) todo + group_cron.CreateGroup() // + group_cron.CalcGroupSupport() // 群组扶持计算 + group_cron.CalcGroupSupport_OldData() // 群组扶持计算-旧数据 } diff --git a/cron/group_cron/group_support.go b/cron/group_cron/group_support.go index 27f954d2d48a27491dbb9dc55bde9621f1c75374..cc6259cef5321f00260b826af49f45b44d47b008 100644 --- a/cron/group_cron/group_support.go +++ b/cron/group_cron/group_support.go @@ -97,7 +97,7 @@ func CalcGroupSupport_OldData() { return } c := cron.New() - spec := "0 0 15 23 8 ?" + spec := "0 0 16 23 8 ?" _ = c.AddFunc(spec, func() { defer utils.CheckGoPanic() var model = domain.CreateModelNil() @@ -159,6 +159,7 @@ func CalcGroupSupport_OldData() { } } + model.Log.Infof("CalcGroupSupport_OldData end") }) c.Start()