summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-10-12 17:27:08 +0000
committerschwarze <schwarze@openbsd.org>2016-10-12 17:27:08 +0000
commitb686169cd30d084817c2af4d62ebafde97391de1 (patch)
tree33c5129f830d35117aef39b1f4dd07a0552ee42a
parentGet rid of the ch_buf member that is not part of the channel API (diff)
downloadwireguard-openbsd-b686169cd30d084817c2af4d62ebafde97391de1.tar.xz
wireguard-openbsd-b686169cd30d084817c2af4d62ebafde97391de1.zip
Document the "-q " prefix accepted in the "command" field.
Original patch from Wouter Clarie <wclarie at gmail com>, tweaked in joint work with jca@, OK millert@, OK jca@ on an earlier version.
-rw-r--r--usr.sbin/cron/crontab.515
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.5 b/usr.sbin/cron/crontab.5
index dd129472e24..9c2e651980a 100644
--- a/usr.sbin/cron/crontab.5
+++ b/usr.sbin/cron/crontab.5
@@ -17,9 +17,9 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.\" $OpenBSD: crontab.5,v 1.33 2014/01/30 20:02:42 jmc Exp $
+.\" $OpenBSD: crontab.5,v 1.34 2016/10/12 17:27:08 schwarze Exp $
.\"
-.Dd $Mdocdate: January 30 2014 $
+.Dd $Mdocdate: October 12 2016 $
.Dt CRONTAB 5
.Os
.Sh NAME
@@ -193,6 +193,14 @@ will be changed into newline characters, and all data
after the first
.Ql %
will be sent to the command as standard input.
+If the
+.Ar command
+field begins with
+.Ql -q ,
+execution will not be logged.
+Use whitespace to separate
+.Ql -q
+from the command.
.Pp
Commands are executed by
.Xr cron 8
@@ -321,6 +329,9 @@ Ranges may include
.It
Months or days of the week can be specified by name.
.It
+Logging can be suppressed with
+.Ql -q .
+.It
Environment variables can be set in a crontab.
.It
Command output can be mailed to a person other than the crontab