Changes

Jump to: navigation, search

User contributed software

29 bytes added, 07:58, 15 July 2008
m
Generic Library for scripted checks
Mailing list discussion:
* Coming soon
Info: Tired of writing scripts to support custom 'checks' in WPKG and then writing parameter parsers or 'bespoke' tests? This is a prototype script library based in a .WSC (Windows Scripting Component) file that can be included into your script files that to simplify the process. It provides a skeletal framework to consolidate and collect useful functions for administrators. You can trim down the code you have to write and write your tests to a simple standard.   The WSC file contains a rough-and-ready command-line parser and semi-automated parameter checks with options to debug code, trap errors 'in-the-field' and build up a unified library of WPKG tests.   It's a work in progress, but features include; 
* Simple parsing of command-lines to validate custom parameters.
* A growing collection of inbuilt routines. (I'm adding things slowly!)
* Examples of 'less used' techniques.
* ... being optimised as we write :-)
 
URL: [Instructions] http://dev.bus.brighton.ac.uk/kej/WPKG/Utilities/readme.txt<br>
URL: [Utility.WSC] http://dev.bus.brighton.ac.uk/kej//WPKG/Utilities/utility.wsc<br>
URL: [Example, Diskpace Checker] http://dev.bus.brighton.ac.uk/kej//WPKG/Utilities/diskspace.js<BR>
15
edits

Navigation menu