[CentOS] Cron
Rich Huff
rich at richhuff.com
Sun Dec 4 15:00:13 UTC 2005
On Sun, 2005-12-04 at 02:48 -0500, Sam Drinkard wrote:
> I have several crontabs running at various times of the day and night.
> All generate copious output. All the jobs produce copious output, and
> some of them I need to see, while others are 's are just a pain in the
> butt to have t look at. is there some method I can use to
> selectively monitor cron's output of the one's I want to, while
> ignoring the others? Thanks...
I append the following to the end of the crontab command for any jobs
that I do NOT want to see the output from:
>/dev/null 2>&1
It sends all stdout output and stderr output to the bit bucket...
> Sam
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
--
Rich Huff <rich at richhuff.com>
More information about the CentOS
mailing list