NetBSD Problem Report #37399

From john@kerberos-1.iastate.edu  Sat Nov 17 13:59:47 2007
Return-Path: <john@kerberos-1.iastate.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B058D63B89A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 17 Nov 2007 13:59:46 +0000 (UTC)
Message-Id: <200711171359.lAHDxdFZ006905@kerberos-1.iastate.edu>
Date: Sat, 17 Nov 2007 07:59:39 -0600 (CST)
From: john@iastate.edu
Reply-To: john@iastate.edu
To: gnats-bugs@NetBSD.org
Subject: Useless mail
X-Send-Pr-Version: 3.95

>Number:         37399
>Category:       misc
>Synopsis:       useless mail from crontab scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 17 14:00:00 +0000 2007
>Last-Modified:  Sat Nov 17 16:05:01 +0000 2007
>Originator:     john@iastate.edu
>Release:        NetBSD 3.0
>Organization:
Iowa State University
>Environment:
System: NetBSD kerberos-1.iastate.edu 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	There should be a way in /etc/{daily,weekly,monthly}.conf
	to not have these things emailed, just put in log files.
	I do not need dozens of emails each week from my machines
	saying pointless stuff like:

		Rebuilding locate database:
>How-To-Repeat:
	N/A
>Fix:
	crobtab -e

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/37399: Useless mail
Date: Sat, 17 Nov 2007 10:04:04 -0600 (CST)

 It has been mentioned several times, that something like FreeBSD's 
 periodic should be used to better finetune the periodic tasks.

 For example FreeBSD's periodic.conf has option like:

 weekly_output=/var/log/weekly.log
 	or
 weekly_output="admin@foobar.example.org admin2@example.org"
 	or
 weekly_output=root	# this is the default
 	or
 weekly_output= 		# none so go to stdout

 Another interesting is:

 weekly_show_success="NO"	# default is YES
 weekly_show_info="NO"		# default is YES
 weekly_show_badconfig="NO"

 Also it can pick and choose what tasks to do.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.