Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mirrorball

macrumors member
Original poster
Aug 6, 2007
37
0
Does anyone knows how to turn off email notifications everytime cron runs? I'm updating an svn source tree three times a day and I don't want to be notified by email.
 

tedsmith3rd

macrumors member
Aug 30, 2006
54
0
US
Does anyone knows how to turn off email notifications everytime cron runs? I'm updating an svn source tree three times a day and I don't want to be notified by email.

When a program has output, that output is emailed to the relevant user or admin. You could direct the output to null, or better yet have it logged in syslog. This would let you check the log if something goes castors up.

End your crontab entry like so:
Code:
svnOrWhatever 2>&1 | logger -p local0.notice -t "Nightly SVN"

To still get emails when there is output on standard error just drop the "2>&1" redirector.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.