cron-silencer

Name

cron-silencer -- A backend to cron job messages.

Synopsis

cron-silencer { -f { mysql-zrm | spamassassin | webalizer | rsync-rsnapshot | sophos | ntpdate | bacula } | -F file } [ -a file [-a file ...]] [ file ]

DESCRIPTION

This manual page documents the cron-silencer command.

cron-silencer is a program to easily filter messages from cron jobs. cron-silencer uses regular expressions to check if a given output line is pointless or maybe not.

The initial idea behind cron-silencer was to have more control over stupid cron job messages and keep your mailbox clean. Just pipe the output through cron-silencer to shut them up. cron-silencer filters out well-known lines and only if there are unknown ones (presumably errors) you get the full message with the incriminated line marked.

FEATURES

OPTIONS

-f

Filter to use. Choose one of: mysql-zrm, rsync-rsnapshot, spamassassin, webalizer, sophos, ntpdate and bacula.

-F

File with filter lines to use. Needs a path name as parameter.

-a

File with additional filter lines to use. Needs a path name as parameter. Has to be combined with -F or -f. May be given multiple times. For identical patterns, rules superseed in order of appearance.

-h

Print out help.

FILTER FILE SYNTAX

ENVIRONMENT

None

Examples

Inside crontab use:

FILES

/etc/cron-silencer.d recommended directory for pattern files.

SEE ALSO

crontab(1), crontab(5), cron(8), perlre(1)

BUGS

Fixes a problem caused somewhere else.

AUTHOR

This manual page was written by LiHAS for the cron-silencer software and may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

DISTRIBUTION

The newest version of cron-silencer can be obtained from http://ftp.lihas.de/debian

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; Version 2. This guarantees your right to use, modify, and redistribute cron-silencer under certain conditions.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (it is in the COPYING file of the cron-silencer distribution).