Slash schedules more elegantly supported?
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
Hi - thanks for whenever! (I've been using it for about a decade!)
Is there a way to support syntax like this using the DSL?
*/7 * * * *
The best I can come up with (which is probably always semantically identical, but might not be depending on how cron is implemented) is:
every 7.minutes
Which generates:
7,14,21,28,35,42,49,56 * * * *
I was surprised to find zero discussion of this in issues and stackoverflow, so maybe I'm searching for the wrong thing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are identified in the issue. Start by locating the DSL handling for every 7.minutes and its cron-expression rendering, then determine how a slash interval could be expressed; done means the DSL emits */7 * * * * for the requested schedule and existing behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100