Skip to content

Use in crontabs in front of the real program to hide program output unless there is an error.

License

Notifications You must be signed in to change notification settings

wessels/cron-output-hider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cron-output-hider

Use in crontabs in front of the real program to hide program output unless there is an error.

Example Usage

A typical crontab entry might look like this:

4 * * * * some-random-job.sh

If some-random-job.sh generates output, you will see it every time the script runs. But if you only want to see the output when the script fails, you can run it through cron-output-hider like this:

4 * * * * cron-output-hider -- some-random-job.sh

Now you'll only get the cron job email when it fails.

About

Use in crontabs in front of the real program to hide program output unless there is an error.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published