mrbryo

Dynamically Adjusting Settings

Recommended Posts

I'm looking to adjust the speed of downloading and uploading on a set schedule.  During the day I don't want to use too much bandwidth so I limit it quite a bit but at night while everyone is asleep I want it to use all the bandwidth it can. No big deal I just have to update the settings correct?

 

Either I missed the settings location to do this automatically in the web interface or it isn't a feature; I suspect the latter. My other option is to just update the config file automatically to change the speed settings and use CRON to schedule the file change.

 

Any suggestions to a better solution?

 

Thanks!

Share this post


Link to post
Share on other sites

Any suggestions to a better solution?

Yes - utilize the API :)

 

...specifically, you could use the "set_prefs" API call to dynamically change the "download_limit" and "upload_limit" parameters

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.