Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I make nzbperl throttle its bandwidth based on time of day?

0
Posted

Can I make nzbperl throttle its bandwidth based on time of day?

0

Yes, through a cron job and the remote control functions of nzbperl. So nzbperl has the –rcport option, which will open up a socket to allow remote control of the program. There are obvious security issues with this option, so please exercise caution (ie. appropriate firewalling and permissions) and do not use that option on a publically available host. Anyway, launching nzbperl with nzbperl.pl –rcport 8066 will create a socket listener on port 8066. As of version 0.6.7, nzbperl has a remote control command called “speed” which takes a single parameter: the desired speed in kBps. It should look like “speed N\r\n” (where N is the target speed in kBps). Netcat (or nc) can then be used to automate sending of commands to nzbperl. For example, to set the nzbperl bandwidth to 121kBps on the localhost, the following command can be used: echo -en ‘speed 121\r\n’ | nc -q 1 localhost 8066 I’ve heard that certain places (parts of Australia?) charge more or less for

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123