Running a task every 40 minutes actually runs once an hour on the 40 minute mark
Open
Nobody has claimed this yet.
bugfix
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
When you try to set a task to run every 40.minutes, it sets crontab to run on the 40 minute mark every hour. If you set every 20.minutes however, it runs every 20 minutes.
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
Start by locating the code that translates every durations such as every 40.minutes into crontab expressions. Compare the generated schedules for 20-minute and 40-minute intervals, then add or update coverage for the 40-minute case and confirm the resulting crontab runs at the intended interval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100