backrest icon indicating copy to clipboard operation
backrest copied to clipboard

Cron Options missing after Update

Open InnocentRain opened this issue 1 year ago • 2 comments

Describe the bug After updating to the 1.4.0 version all cron options other than "Every Month" are missing image

To Reproduce Schedule the Prune Policy to run every week on a specific day

Expected behavior image It should look like this, picture is from before the update

InnocentRain avatar Aug 20 '24 11:08 InnocentRain

Thanks for the report -- definitely some bugs here. Made some changes in 1.4.0 to try to reduce the number of options displayed for cron schedules that should typically be infrequent, but I think I was too restrictive in the options I set. Noticing that you can't pick time of day anymore either.

Hiding weekly was an intentional -- but I can see the desire to run e.g. on a specific day such as not in office. I'll bring it back for that use case.

garethgeorge avatar Aug 20 '24 19:08 garethgeorge

This will be fixed in https://github.com/garethgeorge/backrest/commit/cc173aa7b1b9dda10cfb14ca179c9701d15f22f5 , adds back "weekly" and "hourly" scheduling options for "check" and "prune" policies.

garethgeorge avatar Aug 27 '24 19:08 garethgeorge