From owner-freebsd-questions@freebsd.org Fri Sep 11 14:40:22 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 390A23DCCFD for ; Fri, 11 Sep 2020 14:40:22 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnz1w4T7Sz4RSf for ; Fri, 11 Sep 2020 14:40:20 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A63AD5C0246 for ; Fri, 11 Sep 2020 10:40:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 10:40:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=ZkgqvGV1gU3exU3RKwlpusYzsME cOmR8hRyhHWNbG0o=; b=LW3r26/Bkv9BsnCW5G2u4lpSNe7+kKOAI8Jh20qt0kA JBGi6DRMinGsJl2uog2+GO+wDpy2lNJ4U05FIymrNbeBf+cjmCFDTVFNMEQ22XUv fdxh52PZrYVaC9T5NNwlGOM1BJIXg1xCgbtK2ge7geiyC2uDnz/ujAhTjlCnVWtu GX0bkBx1LNCv1zV02gpZN/3TshV6iy25P9AY4yc7FDQN57lLlNJMjZuxcG5rFo1b pAz/1C6lFWb7bTpD7d9neXL+XY4wBKmWeqthlBen3sCFVY/yTAZkPSYjCA6x1BRt yatEHeNOmslFycpcZw5K1CAyCdRiC9D6b+aijRmAfVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ZkgqvG V1gU3exU3RKwlpusYzsMEcOmR8hRyhHWNbG0o=; b=qSFWM3TNScMMPSXJ23qbZF CsLzBsJepjJaH9ReHkeac8rUtxwGpuQQ9BbLujHFPCMofGajo1Jr57Lakg54XB0Z pG/8pErFAnYeJuNEWmpphgtYiGGZaPRuNHS9D6R+tPVGMpxvmSlk3lMlNx7YH81Q ZAN/ww8NlEQzIgkyQxN1El0grddIS/U+veoQRQKMeV0JykxhLO0V+0OGGBRkiTof 5tHXbDaLlyQek11M11ccM7D+xN/IdAINpQCokmWvXlAxJhSIyB4A/yTLcDvRhYpb AEoytg8xNJjvagDAsMHWyY9GnZlnspeIE8dlep+6ylBLwgMrFW2QoKAGiO900o5w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B871306468A for ; Fri, 11 Sep 2020 10:40:19 -0400 (EDT) Date: Fri, 11 Sep 2020 15:39:49 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Message-ID: <20200911143949.GE91422@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> <20200911153307.690190ed@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2hMgfIw2X+zgXrFs" Content-Disposition: inline In-Reply-To: <20200911153307.690190ed@gumby.homeunix.com> X-Rspamd-Queue-Id: 4Bnz1w4T7Sz4RSf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=LW3r26/B; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=qSFWM3TN; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.982]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.69)[-0.688]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 14:40:22 -0000 --2hMgfIw2X+zgXrFs Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2020 at 03:32:40PM +0100, RW via freebsd-questions wrote: >On Fri, 11 Sep 2020 16:22:22 +0300 >xtouqh@mm.st wrote: > > >> crontab(5) describes -n, which will silence only the successful runs, >> i.e: >> >> */5 * * * * -n su -m www -c "...." > > >Where does it say that in crontab(5)? man 5 crontab[1], a couple of pages down: [...] The following command options can be supplied: -n No mail is sent after a successful run. The execution output will only be mailed if the command exits with a non-zero exit code. The -n option is an attempt to cure potentially copious volumes of mail coming from cron(8). -q Execution will not be logged. [...] [1] FreeBSD 13.0-CURRENT #0 r365391M: Tue Sep 8 23:06:14 BST 2020 --=20 J. --2hMgfIw2X+zgXrFs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9bjEgACgkQs8o7QhFz NAWgHw/+PuBfLeXCEPynyOXkFVjGCRQJG3ZuZwuXlqVku+nXdK0miqQJEaDt6FdU Su9YbvZ6CJSQb0MxiAlCy32sfhU1++E/U3mY7J3N2lmr8K88JIhPcBM3es0rmMvI crLR+pyHeD77nvdX0TQQ3xs21rf5pQaKlmADo+MBCiR4rgqj+OJWdDHul37BGsOJ Ny/i/B6q0Zkid8bCj1jxVkobtrIisDP0+4MUeosSXXNy8DtEuUCCSf+x8Z4plKQr 9Pq9EvosRNR8sfQbhm3GTDNIhcfqoMe9M/9NRzDSYATK95C4jcw+8mDdjdxrOCMn Wm11Xy1E70oP/C7TK+qP6PJl4KLMbzK8L2zvYUlxtxCbjFRtUbrECB6P+yxxU/lJ sIOBQg+4MmN57+4LblRvldcTxKIUXy6G2ZiIGOwIAdse5iKC3GHTRAUl6YVJwL3P ydo4Yj64tQn6rc76H02chMODajF3xxnV5evrKdultv7osQy+oP8AScr/XVLAjwOR LZgWxVXt7vqAYKSoZhP0AMJbeRxMlKCXMTPV342QqrdJBfVf8OHeJVKUj5yVPrB1 3iuxio+JIeD+HVJ37qDkFc7KI04EJ+1N8qf0kGWrtdhlCU+DGHXD+m67Swd2RUof TdKZwRJGZQTjqMOftca6TTOJ7buReBOq8sxVmDluWmICLL91Cpk= =Saao -----END PGP SIGNATURE----- --2hMgfIw2X+zgXrFs--