every(5).minutes.between("04:30", "12:00")?
- Dominant language
- Python
- Stars
- 12.3k
- Forks
- 999
- PR merge metrics
- No merged PRs in 30d
Description
I've had a look through and I can't seem to figure out if it's possible to achieve something similar to the title with existing functionality, in a clean way. I'd like to avoid having to have a whole load of repeateded lines for every 5minute mark inbetween the hours I need to run. If not is this something that could be looked at implementing?
I have a requirement to run a task every 5 minutes, all day, every day. There's a scheduled window every day however where this task will fail, so I need to be able to run it every 5 minutes outside of this window.
E.g. if the window is 04:00 - 04:05 I need to be able to do every(5).minutes.between("04:06": "03:59") or something similar.
Cheers
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.