Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 18:44:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237538] [patch] cron: add log suppression and mail suppression for successful runs
Message-ID:  <bug-237538-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237538

            Bug ID: 237538
           Summary: [patch] cron: add log suppression and mail suppression
                    for successful runs
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@t.lastninja.net

Created attachment 203978
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203978&action=
=3Dedit
Add crontab support for -q (log suppression) and -n (mail suppression for
successful run).

I would like to see FreeBSD provide the crontab extensions found in OpenBSD
that implement `-n` to suppress mail on successful run and ``q` to suppress
logging of command execution.

The `-q` option appears decades old, but the `-n` is relatively new. The
original proposal by Job Snijder can be found here [1], and gives very
convincing reasons for inclusion in base.

This patch is a nearly identical port of OpenBSD cron for `-q` and `-n`
features. It is written to follow existing conventions and style of the
existing codebase. I'm also not good at writing manpages but I gave it my b=
est
shot.


[1]: https://marc.info/?l=3Dopenbsd-tech&m=3D152874866117948&w=3D2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237538-227>