Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update cron-triggers.md#1055

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@TribalNightOwl
Copy link
Contributor

I just changed a couple of entries but I think somebody needs to review all the entries and the cron tab format.

This is the output when I tried to use the recommended by the docs:

Error: Error: Passed structure is invalid; caused by Error: "expression" with value "0 0 0 * * *" fails to match the required pattern: /^\s*($|#|\w+\s*=|(@YEARLY|@ANNUALLY|@MONTHLY|@WEEKLY|@DAILY|@MIDNIGHT|@HOURLY)|(\?|\*|(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?(?:,(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?)*)\s+(\?|\*|(?:\*|[01]?\d|2[0-3])(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?(?:(?:-|\/|,)(?:[01]?\d|2[0-3]|\*)(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?)*)\s+(\?|\*|(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?(?:,(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?)*)\s+(\?|\*|(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?(?:,(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?)*|\?|\*|(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?(?:,(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)*)\s+(\?|\*|(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?(?:,(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?)*|\?|\*|(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?(?:,(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?)*)(|\s)+(\?|\*|(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?(?:,(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?)*))$/
Error: Error: Passed structure is invalid; caused by Error: "expression" with value "@midnight" fails to match the required pattern: /^\s*($|#|\w+\s*=|(@YEARLY|@ANNUALLY|@MONTHLY|@WEEKLY|@DAILY|@MIDNIGHT|@HOURLY)|(\?|\*|(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?(?:,(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?)*)\s+(\?|\*|(?:\*|[01]?\d|2[0-3])(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?(?:(?:-|\/|,)(?:[01]?\d|2[0-3]|\*)(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?)*)\s+(\?|\*|(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?(?:,(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?)*)\s+(\?|\*|(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?(?:,(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?)*|\?|\*|(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?(?:,(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)*)\s+(\?|\*|(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?(?:,(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?)*|\?|\*|(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?(?:,(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?)*)(|\s)+(\?|\*|(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?(?:,(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?)*))$/

I just changed a couple of entries but I think somebody needs to review all the entries and the cron tab format.This is the output when I tried to use the recommended by the docs:```Error: Error: Passed structure is invalid; caused by Error: "expression" with value "0 0 0 * * *" fails to match the required pattern: /^\s*($|#|\w+\s*=|(@Yearly|@annually|@monthly|@Weekly|@daily|@midnight|@hourly)|(\?|\*|(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?(?:,(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?)*)\s+(\?|\*|(?:\*|[01]?\d|2[0-3])(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?(?:(?:-|\/|,)(?:[01]?\d|2[0-3]|\*)(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?)*)\s+(\?|\*|(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?(?:,(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?)*)\s+(\?|\*|(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?(?:,(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?)*|\?|\*|(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?(?:,(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)*)\s+(\?|\*|(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?(?:,(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?)*|\?|\*|(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?(?:,(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?)*)(|\s)+(\?|\*|(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?(?:,(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?)*))$/``````Error: Error: Passed structure is invalid; caused by Error: "expression" with value "@midnight" fails to match the required pattern: /^\s*($|#|\w+\s*=|(@Yearly|@annually|@monthly|@Weekly|@daily|@midnight|@hourly)|(\?|\*|(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?(?:,(?:[0-5]?\d|\*)(?:(?:-|\/|,)(?:[0-5]?\d))?)*)\s+(\?|\*|(?:\*|[01]?\d|2[0-3])(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?(?:(?:-|\/|,)(?:[01]?\d|2[0-3]|\*)(?:(?:-|\/|,)(?:[01]?\d|2[0-3]))?)*)\s+(\?|\*|(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?(?:,(?:\*|0?[1-9]|[12]\d|3[01])(?:(?:-|\/|,)(?:0?[1-9]|[12]\d|3[01]))?)*)\s+(\?|\*|(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?(?:,(?:[1-9]|1[012])(?:(?:-|\/|,)(?:[1-9]|1[012]))?)*|\?|\*|(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?(?:,(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)*)\s+(\?|\*|(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?(?:,(?:[0-6])(?:(?:-|\/|,|#)(?:[0-6]))?(?:L)?)*|\?|\*|(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?(?:,(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?)*)(|\s)+(\?|\*|(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?(?:,(?:|\d{4})(?:(?:-|\/|,)(?:|\d{4}))?)*))$/```
ThatAmatoGuy
ThatAmatoGuy previously approved these changesSep 16, 2024
Copy link
Contributor

@ThatAmatoGuyThatAmatoGuy left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Would you be able to update all items to Caps?

{: .table .table-bordered .table-hover}
|Predefined schedule| Description| Equivalent to|
|-----| -----------| -------------|
|@yearly (or@annually)| Run once a year, midnight, Jan. 1st| 0 0 0 1 1 *|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
|@yearly (or@annually)| Run once a year, midnight, Jan. 1st| 0 0 0 1 1 *|
|@YEARLY (or@ANNUALLY)| Run once a year, midnight, Jan. 1st| 0 0 0 1 1 *|

|Predefined schedule| Description| Equivalent to|
|-----| -----------| -------------|
|@yearly (or@annually)| Run once a year, midnight, Jan. 1st| 0 0 0 1 1 *|
|@monthly| Run once a month, midnight, first of month| 0 0 0 1 * *|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
|@monthly| Run once a month, midnight, first of month| 0 0 0 1 * *|
|@MONTHLY| Run once a month, midnight, first of month| 0 0 0 1 * *|

|-----| -----------| -------------|
|@yearly (or@annually)| Run once a year, midnight, Jan. 1st| 0 0 0 1 1 *|
|@monthly| Run once a month, midnight, first of month| 0 0 0 1 * *|
|@weekly| Run once a week, midnight on Sunday| 0 0 0 * * 0|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
|@weekly| Run once a week, midnight on Sunday| 0 0 0 * * 0|
|@WEEKLY| Run once a week, midnight on Sunday| 0 0 0 * * 0|

|@weekly| Run once a week, midnight on Sunday| 0 0 0 * * 0|
|@daily (or@midnight)| Run once a day, midnight| 0 0 0 * * *|
|@DAILY (or@MIDNIGHT)| Run once a day, midnight| 0 0 0 * * *|
|@hourly| Run once an hour, beginning of hour| 0 0 * * * *|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
|@hourly| Run once an hour, beginning of hour| 0 0 * * * *|
|@HOURLY| Run once an hour, beginning of hour| 0 0 * * * *|

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@NimRegevNimRegevAwaiting requested review from NimRegev

@ThatAmatoGuyThatAmatoGuyAwaiting requested review from ThatAmatoGuy

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@TribalNightOwl@ThatAmatoGuy

[8]ページ先頭

©2009-2025 Movatter.jp