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

Appearance settings

Support Steps with Ranges #76

Copy link
Copy link
@sarahsporck

Description

@sarahsporck
Issue body actions

Hi there!

First of all - awesome library - easy to use, easy to extend.

So I'm myself working with the crontab format and I found it would be awesome if this library would support more complex steps for hours, minutes and basically every field.

What is already working are these step definitions: '*/10' aka 'every 10 minutes'
What is defined in the crontab manual, but does not work are steps with ranges:

  • '5-20/5' - every 5th minute from 5 through 20
  • '5/5' - every 5th minute from 5 through 59

The ReactJS Cron library already supports that as far as I see. And whithout considering the UI for it, it probably already is quite simple.

As a note:
Initially I thought about implementing it myself for my use case in my project, but found that the Segment Factories are not exported in the index.ts, and without them it is quite tedious to extend e.g. the minute field. So that would also be awesome!

Thanks in advance :) And once again awesome library.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.