Cronjob email notification


#1

Hi

I have few cronjob (crontab) that execute everyday (mainly for stats system) and every day, I receive an email for each job.

I was wondering if it’s possible to stop this notification ? It’s fun at first to see everything work fine, but getting 10 emails of this by day, it’s a bit pain (mainly for customer that use the main email and receive this message for nothing)

Is it possible to make it silent ? (and don’t have any email, except for errors)

Thanks


#2

at the top of your crontab put:

MAILTO=""

[color=#0000CC]jason[/color]


#3

it worked thanks

I won’t have error, but it’s not very important.