I don't think a single one of those cron scripts return proper exit codes since they were originally meant to produce text output if problems were detected and otherwise just be quiet. But if they did then I suppose this solution would work. As a bonus, this approach would leave traces in /tmp which could be useful for summarizing. Hmm.
Time flies when you don't know what you're doing
In reply to Re^2: Sanity check: Tiny wrapper script for /bin/mail
by FloydATC
in thread Sanity check: Tiny wrapper script for /bin/mail
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |