Wouter Clarie <wcla...@gmail.com> writes:

> The -q flag for the command in a crontab(5) entry was introduced in revision 
> 1.8 of src/usr.sbin/cron/entry.c back in 2001, but never documented.

Good catch.

> (Sorry, I'm no hero with mdoc, so not sure if the markup is correct.)

I'm no mdoc here either, but:
- I'd drop the first Pp, IMO -q should be described in the same
  paragraph as other special characters.
- I find it weird to use Fl to describe what is technically not
  a command-line option.  I went with Ql, just like for % and \.

Updated diff, assuming the point above are valid; input welcome.

Index: crontab.5
RCS file: /d/cvs/src/usr.sbin/cron/crontab.5,v
retrieving revision 1.33
diff -u -p -p -u -r1.33 crontab.5
--- crontab.5   30 Jan 2014 20:02:42 -0000      1.33
+++ crontab.5   12 Oct 2016 13:13:56 -0000
@@ -193,6 +193,11 @@ will be changed into newline characters,
 after the first
 .Ql %
 will be sent to the command as standard input.
+If the
+.Ar command
+field starts with
+.Ql -q ,
+execution will not be logged.
 Commands are executed by
 .Xr cron 8

jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to