pinchflat icon indicating copy to clipboard operation
pinchflat copied to clipboard

Disable all automated tasks during peek hours

Open 007-mark opened this issue 4 months ago • 3 comments

Is your feature request related to a problem? Please describe.

  • Some internet providers set download limits during peek hours.
  • It would be nice if bandwidth was only used when nothing and nobody else is using the internet. Not everyone has a fast internet connection.

Describe the solution you'd like

  • Disable downloading any media during a specified time period (except if manually forced).
  • Add more options to the scheduler e.g. run daily / weekly / monthly at a specified time.

Describe alternatives you've considered

  • Create a cronjob to start and stop the docker container daily. (not very user friendly)
  • Disconnect the docker container from the internet daily. (seems to be the only reliable solution)
  • Create a user script to cancel all downloads individually, depending on the current time. This doesn't disable indexing though and is this really a good idea?
  • Send automated http requests to the web server to disable and reenable every source every day. (terrible)
  • Fiddle with the database daily. (terrible)
  • Only create new tasks in the middle of the night, hoping they will continue to run only at night which they probably won't.

007-mark avatar Oct 08 '24 00:10 007-mark