-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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
Labels
No labels