Date: Fri, 19 Jun 2015 21:43:36 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: daily cron emails Message-ID: <55847EF8.60907@FreeBSD.org> In-Reply-To: <5584763F.6060701@gmail.com> References: <5584763F.6060701@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55847EF8.60907>