Re: !Postprocess and e-mailed summary report
[email protected] (Paul Jarc)
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
"Robin Bowes" <[email protected]> wrote: > On Thu, October 9, 2003 10:39 pm, "Paul Jarc" said: >> "!messagewallstats | qmail-inject postmaster && exec cat previous" ... > Why do you: > > a. use && (to only cat the previous file if the previous command executed > successfully?) Yes. If the !processor fails, multilog will try it again. If we ignore errors from qmail-inject, the log will be rotated, but the email will be lost. > b. exec "cat previous" ? Just because there's no need to keep the shell around. paul