From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 10:36:56 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1A74507; Sat, 20 Jun 2015 10:36:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 7C0DBEB3; Sat, 20 Jun 2015 10:36:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igboe5 with SMTP id oe5so32917975igb.1; Sat, 20 Jun 2015 03:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=UiqyuWU0R3bDbLNhQ9O8tld9Pj8jMEUPY9ozTPAma0o=; b=nMKVsKNrOQbiBvTBQR30bYx1CaHNbQhdCWSAonjlYZg4TiMulvYwZTbkZH1DvE3WlJ ajdsoXDC/UCIh2U2q564USSdLgpLMlaGk38cJAVrvqUsxt8mjcDCayyx+MLZjnrD2OTt NZXmbZ0KwdPbCBvhhsi816X3zzBsAzRpfG/YOzqeRw2YMxLvMwugeUR20PQVcAx3Bfyg NeEVRXdnbtlSGi7D/E/pByIoyhwDZQcm2Gf9rQabRjoQRjN4V86FH8c44uqAWPo1pFcL 2+HI2YPwYOCCVkTTR9UsYxReLcnY1twamf35tRQHrQ9+B+RW3vVEUwDGoQyGFwTm3pX+ X8gw== X-Received: by 10.43.44.130 with SMTP id ug2mr17001940icb.53.1434796615802; Sat, 20 Jun 2015 03:36:55 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by mx.google.com with ESMTPSA id o9sm8889382ioe.35.2015.06.20.03.36.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Jun 2015 03:36:54 -0700 (PDT) Message-ID: <55854247.9040900@gmail.com> Date: Sat, 20 Jun 2015 06:36:55 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) To: Matthew Seaman CC: freebsd-questions@freebsd.org Subject: Re: daily cron emails References: <5584763F.6060701@gmail.com> <55847EF8.60907@FreeBSD.org> In-Reply-To: <55847EF8.60907@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sat, 20 Jun 2015 10:36:56 -0000 Matthew Seaman wrote: On 19/06/2015 21:06, Ernie Luzar wrote: I added this line to /etc/crontab on a Tuesday 15 1 * * * root sa-update && service sa-spamd restart and got the normal daily 2 security emails. But with the weekly security emails I also got a separate email about the new command I added. From that point on, I am also getting that email on a daily bases. Is this normal behavior? Yeah. You're not meant to futz with /etc/crontab. Instead, as root run: crontab -u root -e and then enter the line: 15 1 * * * sa-update && service sa-spamd restart (note: no 'root' as the 6th field). Or you could just install the mail/sa-utils port which gets you a periodic job to run sa-update along with all the other periodic stuff. Cheers, Matthew Did "crontab -u root -e" and don't see the stuff I added being added to /etc/crontab file. Where is the crontab file additions stored / saved?