Support for custom (callable) intervals
Open
- Dominant language
- Python
- Stars
- 12.3k
- Forks
- 999
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Just to give more control to the user, I think it would be nice to allow defining callable intervals.
E.g.
```
schedule.every(lambda: random.randint(5, 50)).seconds.do(job)
```
This would be more flexible than #154 .
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the schedule.every(...).seconds.do(job) entry point shown in the issue and trace how the interval is stored and used for scheduling. Confirm the callable form accepts values such as random.randint(5, 50) and that the resulting interval controls job execution as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100