From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 20:43:53 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 221464AA for ; Fri, 19 Jun 2015 20:43:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 98F2069E for ; Fri, 19 Jun 2015 20:43:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t5JKhiN5007137 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 19 Jun 2015 21:43:44 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t5JKhiN5007137 Authentication-Results: smtp.infracaninophile.co.uk/t5JKhiN5007137; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Message-ID: <55847EF8.60907@FreeBSD.org> Date: Fri, 19 Jun 2015 21:43:36 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: daily cron emails References: <5584763F.6060701@gmail.com> In-Reply-To: <5584763F.6060701@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2SQguXwKPRakPksku2mSML6GBojo06sgR" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk 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: Fri, 19 Jun 2015 20:43:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2SQguXwKPRakPksku2mSML6GBojo06sgR Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 19/06/2015 21:06, Ernie Luzar wrote: > I added this line to /etc/crontab on a Tuesday >=20 > 15 1 * * * root sa-update && service sa-spamd restart >=20 > and got the normal daily 2 security emails. But with the weekly securit= y > 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. >=20 > 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 --2SQguXwKPRakPksku2mSML6GBojo06sgR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJVhH7/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATuA4P/iUKBmXh4qLwhY4GMKf75obm htRHnALt2GXIUe/TT5ENCJgnVO1NajP/XDl1F0o+LGXygqyjHIuiDISd5T7ckQLF WhQBvm7zvAlQhIrrg9erzR2CYILmaqUH+oOPNvFAUREAQhD/+clmBBnjDy5jGHWW pgguhXoMfVK4nrt6JGLY4TJKlPrl7ekiJgcU9ydVk8Yc869udI9Vx8CjSBHYWPbh 9vcNOfE73THIbQVTMmUJvv2ueul1hajFsBQlskrhVs1EVMTB0lO3fSKwHLEHEEnZ omhw4JbtbmBcBOA/lgG8eGUzWwl89apiAvwo89BsiGKftg8sBtEOIG8b8B4EqHDz 4CV8THXKQyNaw05OituMIYOB7XCkCTx0ALCt+W8Mck5kRLo8sX6zt8FePLm+TIEt t+8F8sCIEKkg3ZlCk3s1AmDLAxUZG9wuIfZzpCWycuIuq5PTY6LPZl+H17OcsLt6 uvtWiYeO4cgyEChR2W88Z3OTSbk1UX94aOGNmdm5QKBfS3rF8g7fYpzXvNMfHPmc P0H7CIz9rkCISYmmkmDf4wb5J7VmmoHwE+4wQyVsFrnxUpsmESHwkj9iHTuCqgI0 0VQkUzSKERI7K4cbU3Uwjm2mJmizZa1eG4mWWFyM0rifLfol5Rq3EQFyjyBpCgGY 2nifTC4SycWyBPA4ym7a =Me+c -----END PGP SIGNATURE----- --2SQguXwKPRakPksku2mSML6GBojo06sgR--