I just updated the scripts section of my website and added the following:
lwsn.sh - Start/Stop all your regular Lawson processes from a single command, using consistent syntax - with logging and log rotation.
cleanwork.sh - Clean up tmp* files in work directories that are "X" days older than any files left by any jobs currently in "Waiting" status - The "SAFE" way to clean up the work directories.
age_rm.sh - Removes old files from whatever directory you specify, using any "Regular Expression" and age. It's great for removing those old log files and temp files you no longer need, with the added plus of an "OOPS!" feature that stores those "deleted" files for a specified number of days before "REALLY" deleting them. Optionally recurses through all subdirectories.
age_zip.sh - Compresses old files from whatever directory you specify, using any "Regular Expression" and age. It's great for compressing those old log files and temp files you might need later. Optionally recurses through all subdirectories.
patch_ss.sh - Creates csv files of CTPs for each productline in every environment on a machine, then produces a spreadsheet comparing all of them.
run4all.sh - Executes any program/script specified on the commandline in every active environment
lavers - List all versions of all components of all environment/productlines on a Lawson Applications server - Creates both web pages and downloadable CSV files for easy lookup/comparison of Patches Installed, Code versions, GENDIR/programs, much more... Both 8.X and LSF 9 compatible.
Of course, the latest version of
LEM is also available.
These and many more useful Lawson scripts and tricks are available at:
http://www.schronce.net/lawson"Free and Open Source Software - Sometimes you get what you don't pay for..."