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

Clarify Cron scheduling information #84

Open
Niksko opened this issue Jul 11, 2021 · 1 comment
Open

Clarify Cron scheduling information #84

Niksko opened this issue Jul 11, 2021 · 1 comment

Comments

@Niksko
Copy link

Niksko commented Jul 11, 2021

Currently, the PodChaos docs page links off to https://pkg.go.dev/github.com/robfig/cron?utm_source=godoc for information about the cron format. There are a couple of issues with this:

  • The actual cron format needs to be documented. I think the cron spec for Chaos Mesh starts with minutes and includes the optional 'day of week' field, but this should be documented.
  • Document that all schedules are in UTC. This limitation is quite important, because it means something like setting up chaos only during business hours becomes non trivial, because cron schedules can't 'wrap' over midnight, so 9am to 5pm in your local time might have to be configured as two separate scheduled bits of chaos when converted to UTC.
@g1eny0ung
Copy link
Member

g1eny0ung commented Oct 15, 2021

Thanks for your advice! Currently, we move this part to https://chaos-mesh.org/docs/define-scheduling-rules/. I think these two issues have been already solved.

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