Ticket #333 (assigned enhancement)
Cron scripts too chatty, need "--quiet" option.
| Reported by: | steveg@… | Owned by: | rjl |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | PHP scripts | Version: | 1.0.1 |
| Severity: | minor | Keywords: | scripts quiet options |
| Cc: |
Description
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.
Steve
Change History
Note: See
TracTickets for help on using
tickets.

