Cron parser roadmap #126

Closed
opened 2022-04-11 22:43:18 +02:00 by Jef Roosens · 0 comments

Parts

  • 5-7 which equals [5, 6, 7]
  • 5-7/3 which means "every third value within the interval 5-7"
  • */3 which means "every third value in the given array of values"
  • 7 which would just mean [7]
  • * which means "every value in the given array of values"
  • x,y,z where each of x, y & z are one of the above parts
  • Properly error out when receivin invalid/out of range numbers

Full expressions

  • Allow anywhere between 2 and four parts, with each missing part being appended as a *
## Parts - [x] `5-7` which equals `[5, 6, 7]` - [x] `5-7/3` which means "every third value within the interval 5-7" - [x] `*/3` which means "every third value in the given array of values" - [x] `7` which would just mean `[7]` - [x] `*` which means "every value in the given array of values" - [x] `x,y,z` where each of x, y & z are one of the above parts - [x] Properly error out when receivin invalid/out of range numbers ## Full expressions - [x] Allow anywhere between 2 and four parts, with each missing part being appended as a `*`
Jef Roosens added the
Roadmap
label 2022-04-11 22:43:23 +02:00
Jef Roosens added this to the 0.2.0 milestone 2022-04-11 22:43:28 +02:00
Jef Roosens added reference cron 2022-04-11 22:43:31 +02:00
Jef Roosens modified the milestone from 0.2.0 to 0.3.0 2022-04-12 09:51:08 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#126
There is no content yet.