detox1978
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?
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?
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.
I'd look to syslog then.
ASKER
can i not just append/prefix the it with something like "/dev/null >"
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cat /var/www/www.mydomain.com/cron.php