Traffic quota - warning only [SOLVED]

Discussion in 'ISPConfig 3 Priority Support' started by SupuS, Nov 28, 2019.

  1. SupuS

    SupuS Member HowtoForge Supporter

    Hello,
    how to set only traffic quota warning instead of disabling whole site? Is it possible to deactivate site disabling in cron file manually?

    I found several threads in forum and 8 years old issue in bugtracker here https://git.ispconfig.org/ispconfig/ispconfig3/issues/1322
    but there is no option yet how to set it in ISPConfig.

    I am not familiar with ISPConfig source code but is it really so hard to implement? I am not only one who need this feature.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, you will have to change the code for it.

    I'ts not about being hard to implement, it's just that someone who needs a specific function has to do it and submit the code on our GIT server.
     
  3. SupuS

    SupuS Member HowtoForge Supporter

    Thank you Till. Can you point me to right file where I have to change the code?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Comment out line 84 in the file /usr/local/ispconfig/server/lib/classes/cron.d/300-quota_notify.inc.php
     
  5. SupuS

    SupuS Member HowtoForge Supporter

    Thank you Till. In multiserver setup I should change it on the master server only right?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to change it on all web servers, no matter if master or slave.
     
    SupuS likes this.

Share This Page