mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 22:47:03 +00:00
![]() The prune schedule simulator returned "X/Y is not an integer" error for a schedule that uses a `start..end` hour range combined with a `/`-separated time step-gap, while that works out fine for actual prune jobs in PBS. Previously, a schedule like `5..23/3` was mistakenly interpreted as hour-start = `5`, hour-end = `23/3`, hour-step = `1`, resulting in above parser error for hour-end. By splitting the right hand side on `/` to extract the step and normalizing that we correctly get hour-start = `5`, hour-end = `23`, hour-step = `3`. Short reminder: hours and minutes part are treated as separate and can both be declared as range, step or range-step, so `5..23/3:15` does not mean the step size is 3:15 (i.e. 3.25 hours or 195 minutes) but rather 3 hours step size and each resulting interval happens on the 15 minute of that hour. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> [TL: add context to commit message partially copied from bug report and add a short reminder how these intervals work, can be confusing] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
clear-trigger.png | ||
documentation.html | ||
index.html | ||
prune-simulator_source.js |