You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a bug in the "in_timeframe" routine in the ceph-gentle-reweight script.
If the current_day is not in allowed_days but the current_time does fall between start_time and end_time it still allows the script to run. It shouldn't because the current_day is not allowed.
The text was updated successfully, but these errors were encountered:
This is the behavior I intended. allowed_days allows tells the script to reweight non-stop on those days regardless of whether there is a time range specified. My use case was that I wanted to allow reweighting only at nights and on weekends. See #7
There's a bug in the "in_timeframe" routine in the ceph-gentle-reweight script.
If the current_day is not in allowed_days but the current_time does fall between start_time and end_time it still allows the script to run. It shouldn't because the current_day is not allowed.
The text was updated successfully, but these errors were encountered: