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

Cron documentation doesn't match comments in code #5092

Closed
jiv-e opened this issue Jan 25, 2020 · 1 comment · Fixed by #5098
Closed

Cron documentation doesn't match comments in code #5092

jiv-e opened this issue Jan 25, 2020 · 1 comment · Fixed by #5098

Comments

@jiv-e
Copy link
Contributor

jiv-e commented Jan 25, 2020

Describe the bug
Which one is right?

Cron syntax in documentation:
[SECOND (optional)] [MINUTE] [HOUR] [DAY OF MONTH] [MONTH] [DAY OF WEEK]

Cron syntax in code comments:
[MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK] [YEAR (optional)]

Steps to reproduce the behavior

  1. Open the code link: https://github.com/strapi/strapi/blob/v3.0.0-beta.18.6/packages/strapi-generate-new/lib/resources/files/config/functions/cron.js
  2. Open the documentation: https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#cron-tasks
  3. Compare the information.

Expected behavior
These sources should should match and show the correct information.

@jiv-e
Copy link
Contributor Author

jiv-e commented Jan 27, 2020

Thanks!

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 a pull request may close this issue.

1 participant