Re: !Postprocess and e-mailed summary report
"Robin Bowes" <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
On Thu, October 9, 2003 10:39 pm, "Paul Jarc" said: > > So you want the rotated log to contain exactly what was in the > "current" file, without any processing applied to it, and you also > want the output of messagewallstats to be emailed? Then this will > work: > "!messagewallstats | qmail-inject postmaster && exec cat previous" I was about to suggest something similar in response to one of your previous messages. I would have done something like: "!messagewallstats | qmail-inject postmaster ; cat previous" Why do you: a. use && (to only cat the previous file if the previous command executed successfully?) b. exec "cat previous" ? R. --- Robin Bowes