Ticket #333 (assigned enhancement)
Cron scripts too chatty, need "--quiet" option.
|Reported by:||steveg@…||Owned by:||rjl|
|Severity:||minor||Keywords:||scripts quiet options|
Some of the cron scripts output messages even though no errors have occured. For example, stats-snapshot.pl prints "Updating stats history table.", which gets mailed to me every hour. The usual trick of adding "> /dev/null" to the cron entry won't work, because then I won't see errors either: errors are printed to stdout, rather than stderr.
Suggested solution: add a "quiet" option to the scripts, so that they only output errors. Additionally, errors go to stderr, messages to stdout.