Repository navigation
Escapement v0.7.0
Escapement - The "Stay in your window" Release
Escapement has had the concept of user-set hourly intervals and "windowed" backup time periods. But until now, the intervals were set first (starting from Midnight) and the window was just overlaid on top. That meant that if you set an interval of "every 4 hours", then it would naturally run at 12am, 4am, 8am, 12pm, 4pm, and 8pm. If you then set a window of "between 11pm and 4am", then it would only run once - at 12am - since only one of the already-set backup times were within that window.
This release inverts that relationship. The window is first and then the interval is applied to it. So in the above example, it would run at 11pm and 3am, like expected.