The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM scripts and interfacing

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

  1. codez

    codez Member

    Joined:
    Sep 30, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Nick,

    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!

    Thanks!!
     
Loading...

Share This Page