Skip to content

quiet option too quiet #19

@jasonblewis

Description

@jasonblewis

It would be great if there was a quiet option that would emit nothing if no error or warnings were found, but would emit the warning or error if one is found.

Use case is to have chkcrontab running from a file in /etc/cron.d on a regular basis so any errors that slipped in will be picked up and emailed to root.

so a cron entry like:

5 * * * * root for i in /etc/cron.d/*; do /usr/local/bin/chkcrontab -q $i ; done

would only email the user if an error was detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions