- Notifications
You must be signed in to change notification settings - Fork165
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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 left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
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 *| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| |@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 * *| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| |@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| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| |@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 * * * *| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| |@hourly| Run once an hour, beginning of hour| 0 0 * * * *| | |
| |@HOURLY| Run once an hour, beginning of hour| 0 0 * * * *| |
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: