No output from periodic

Daniel Bye dan at slightlystrange.org
Tue Jul 8 09:28:59 PDT 2003


On Tue, Jul 08, 2003 at 10:09:24AM -0600, Elliot Finley wrote:
> I really appreciate all the comments, but this isn't quite what I'm after.
> 
> I _want_ cron to email me when there _is_ output.
> But I _don't want_ an email when there _isn't_ output.

But it _is_ output - look for "processed" in /usr/sbin/periodic.  If none of
the scripts it spawns say anything, this is what you get back.

If you _really_ want to suppress this message, you will either need to edit
/usr/sbin/periodic so it doesn't say anything if none of its scripts say
anything, or set up a procmail (or similar) rule to filter out the noise.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030708/f68c7768/attachment-0001.bin


More information about the freebsd-questions mailing list