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!

WHM scripts and interfacing

Discussion in 'General Discussion' started by codez, Oct 2, 2002.

  1. codez

    codez Member

    Sep 30, 2002
    Likes Received:
    Trophy Points:

    I'm developing some code to post-process the output of some of the WHM scripts (to automatically monitor bandwidth and disk usage, compare against a threshold, and send email to the webmaster if it exceeds it). I'm writing this so a cron job can run the code periodically.

    I realize that in future releases, the format of the info provided by the scripts could possibly change, thereby breaking my post-processing code, so I'd like to explore the possibility of creating a parameter in a few of the WHM scripts (similar to the nohtml option that some scripts support) that would output raw unformatted data.

    Any help and ideas would be most appreciated!


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