Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disable automatic bandwidth suspensions - weekend

Discussion in 'General Discussion' started by muriel6060, Aug 29, 2017.

Tags:
  1. muriel6060

    muriel6060 Member

    Joined:
    Feb 25, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello all,

    Is that a way to disable automatic bandwidth suspensions only during the weekends?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    There is no feature that will allow you to enable to disable the "Bandwidth limit check" setting based on date or time. I encourage you to open a feature request if you'd like to see this functionality added to the product:

    Submit A Feature Request

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. muriel6060

    muriel6060 Member

    Joined:
    Feb 25, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    But is there a way to disable the "automatic bandwidth suspensions" in Tweak Settings and call this script by crontab only weekdays?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Yes, you could setup a root cron job that runs the following command to disable the bandwidth limit checking feature:

    Code:
    whmapi1 set_tweaksetting key=skipbwlimitcheck value=1
    Then, to enable the checking again, setup a cron job that uses this command:

    Code:
    whmapi1 set_tweaksetting key=skipbwlimitcheck value=0
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice