From owner-freebsd-questions@freebsd.org Mon Aug 31 13:02:01 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43E119C74CA for ; Mon, 31 Aug 2015 13:02:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E55CFAFB for ; Mon, 31 Aug 2015 13:02:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicpl12 with SMTP id pl12so32904045wic.0 for ; Mon, 31 Aug 2015 06:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=g8h+hjHNetbu7wacjc2BIobWaXqmAS75acIoYoTBdU4=; b=DrAYk32MD1rmSq6fBXtfImwGgJK61ythd6ZHO4ObkX4u5DFFLaWXjJ4LoKZLWOzWQt IMv1TNqGamyST2scmCp5IQV+7QmcOzw0mcnPNeEeI5R5RjmsszGmhiL88oy6YRtf3KOo bWjsiOcTekgwALd165MBGAX5OqTM7kwMqPqiB3iK6ASvk/I0bQod5HEXlYMtFMG/+/yQ 6IwFQCDhT+M8QTGLLjyb5aJRQfl+jF2jVk1lxSaWuxA/YnF7sKNlAHgV0eAI8sTv6MHL oPhgbl3pmHkXPmMhSqqzJVVqk9AsWentsqiTd/CLEMrnvLo4EfFMGunL9KGGObRIRyiE EiYA== X-Received: by 10.194.79.225 with SMTP id m1mr27540749wjx.8.1441026119241; Mon, 31 Aug 2015 06:01:59 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id ja8sm22140062wjb.13.2015.08.31.06.01.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 06:01:58 -0700 (PDT) Date: Mon, 31 Aug 2015 14:01:57 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: cron_flags="-m not working Message-ID: <20150831140157.2a521da9@gumby.homeunix.com> In-Reply-To: <55E43ABA.4090509@gmail.com> References: <55E43ABA.4090509@gmail.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 13:02:01 -0000 On Mon, 31 Aug 2015 07:30:02 -0400 Ernie Luzar wrote: > The host has a user account called bob. I want all cron email to go > to bob and not root. ull string, usually specified in a shell as '' or "". > > I interpret that to mean I add cron_flags="-m option to /etc/rc.conf > like this: > > cron_flags="-m bob@mymail.com" > > In all cases the daily cron email still went to root. > > Any ideas why it did not work and no errors were generated? You've already been told. The periodic scripts are run from cron, but they handle their own logging; read the previous thread.