Skip to content

Pprr#1502

Open
LGG686 wants to merge 7 commits intorunhey:devfrom
LGG686:pprr
Open

Pprr#1502
LGG686 wants to merge 7 commits intorunhey:devfrom
LGG686:pprr

Conversation

@LGG686
Copy link
Copy Markdown
Contributor

@LGG686 LGG686 commented Apr 14, 2026

No description provided.

LGG686 and others added 7 commits April 14, 2026 20:22
-在 GuildActivityMonitorCombatTime 中新增 run_days 配置项,默认值为 1,2,3,4,5,6,7(周一到周日)。
-任务启动时根据 datetime.now().weekday()+1 判断当天星期,若不在 run_days 中则直接跳过并结束
- 使用正则提取并过滤 1-7 的周几配置,避免异常输入导致误判
- 在运行日期配置无效时记录警告并直接结束任务,避免继续调度
- 当任务在命中当天配置后执行完成时,下一次调度排除当天,
  防止再次落回同一天
- 统一按最近有效运行日计算下次执行时间,提升周期调度稳定性
@LGG686 LGG686 force-pushed the pprr branch 3 times, most recently from a2f79ae to 0ad172b Compare April 15, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants