The current central auth dump script uses eval plus a bunch of greps in order to get config opts and db host/user/password information. This is horrid. Replace those bits with callouts to MW for db info and some tiny ptyong script to return the configfile settings we want.
That's the script as it currently stands. People copy from it to make their own cron jobs. Ewww.