Link to home
Start Free TrialLog in
Avatar of detox1978
detox1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

CentOS: Disable cron notifications

Hi All,


I have the following in my cronttab

* * * * * php /var/www/www.mydomain.com/cron.php


Every time it runs i am sent an email.  How do i switch this off?
Avatar of mikelfritz
mikelfritz
Flag of United States of America image

Post the contents of that file:

cat /var/www/www.mydomain.com/cron.php
Avatar of detox1978

ASKER

The PHP does several MySQL imports.  It doesn't send any emails.  

Is that all that is in crontab?

I'd look to syslog then.
can i not just append/prefix the it with something like   "/dev/null >"
SOLUTION
Avatar of mikelfritz
mikelfritz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial