Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[建议] 根据日期/时间来生效规则 #9

Open
AbandonNAN opened this issue Jan 22, 2024 · 2 comments
Open

[建议] 根据日期/时间来生效规则 #9

AbandonNAN opened this issue Jan 22, 2024 · 2 comments

Comments

@AbandonNAN
Copy link

根据日期/时间自动生效,例如:

  • 在每天的 18:00-23:00 提高丢包率
  • 在每年的 6/1 - 6/10 丢包率设置为 100%
    ......
@KagurazakaShirosatosu
Copy link

可以考虑使用crontab来在不同时间段加载不同的配置文件来达到这样的效果

@tobyxdd
Copy link
Collaborator

tobyxdd commented Jan 22, 2024

理论上可以通过在 expr 里提供时间信息来实现有时效性的规则

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

No branches or pull requests

3 participants