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!!
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!!