airdcpp-web / airdcpp-webclient

Communal peer-to-peer file sharing application for file servers/NAS devices
https://airdcpp-web.github.io
171 stars 31 forks source link

Ability to use a schedule for the refresh of the share #468

Closed EcceGratum closed 2 months ago

EcceGratum commented 3 months ago

Is your feature request related to a problem? Please describe. We should be able to set a schedule for the refresh of the share. For example : Once daily at 7am, once weekly on sunday at 3:30pm or monthly in addition to the auto refresh time

Describe the solution you'd like Replace the "Auto refresh time" in the settings by an option to choose either "On interval" which let us specify an amount of time in minutes or a Daily or Weekly trigger which let us choose the day and the time (hour : minute)

Describe alternatives you've considered There is no alternative that would consistently respect a schedule

Additional context image

maksis commented 2 months ago

You can disable the scheduled refresh and use the API to trigger the refresh whenever you want: https://airdcpp.docs.apiary.io/#reference/share/refresh-methods/refresh-whole-share (see the beginning of the docs if you haven't used the API before)