Opened 14 years ago

Last modified 14 years ago

#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


Some of the cron scripts output messages even though no errors have occured. For example, 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.


Change History (3)

comment:1 Changed 14 years ago by rjl

Note that several of the scripts already offer a --quiet option, including process-quarantine, expire-quarantine-cache, and load-sa-rules.

Effectively this enhancement ticket applies to send-quarantine-reminders, send-quarantine-digests, and stats-snapshot.

comment:2 Changed 14 years ago by rjl

  • Component changed from General to PHP scripts
  • Keywords scripts quiet options added
  • Milestone set to 1.0.2
  • Severity changed from normal to minor
  • Status changed from new to assigned

comment:3 Changed 14 years ago by dmorton

  • Milestone changed from 1.0.2 to 1.1.0
Note: See TracTickets for help on using tickets.