|
@@ -86,7 +86,7 @@ func (t *TaskServer) Start(ctx context.Context) error {
|
|
|
t.log.Error("同步到期时间注册任务失败", zap.Error(err))
|
|
|
}
|
|
|
|
|
|
- _, err = t.scheduler.Cron("* * * * *").Do(func() {
|
|
|
+ _, err = t.scheduler.Cron("0 * * * *").Do(func() {
|
|
|
err := t.wafTask.StopPlan(ctx)
|
|
|
if err != nil {
|
|
|
t.log.Error("停止套餐失败", zap.Error(err))
|