Help - Search - Members - Calendar
Full Version: Not receiving any cpanel cron mails
The Planet Forums > Control Panels > cPanel/WHM
Deep
Hi,
I have this strange problem in both of my servers.
I do not receive upcp, cpbackup and logwatch mails

I checked restarting cron, nothing worked, I even reinstalled the cron..but it also didnt help...

I contacted cpanel support, they also couldnt help in this case..

Now I do not what to coz I too do not know why it is happening, I receive other cron mails, I even receive newmailcgi mail when cpanel gets updated..(manually)

this is what my crontab shows..


QUOTE
*/15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 1 * * * /scripts/cpbackup
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
18 0 * * * /scripts/upcp
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1


do you guys have any idea about this problem?

Deep
neonix
Add the following to your crontab before your existing lines and restart cron.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
Deep
QUOTE (neonix)
Add the following to your crontab before your existing lines and restart cron.  

SHELL=/bin/bash  
PATH=/sbin:/bin:/usr/sbin:/usr/bin  
MAILTO=root  
HOME=/


can you explain about what does it do?

Thanks
Deep
Matt Brown
That will tell the cron daemon where to e-mail the results of the crons icon_wink.gif
Deep
oh, thanks. i have added it, I hope it works now icon_smile.gif

Deep
Deep
QUOTE (neonix)
Add the following to your crontab before your existing lines and restart cron.  

SHELL=/bin/bash  
PATH=/sbin:/bin:/usr/sbin:/usr/bin  
MAILTO=root  
HOME=/


Hi,
I added it but I am still not receiving mails icon_sad.gif

any ideas?

Deep
Deep
finally...finally icon_smile.gif

I saw upcp mail in my inbox..

thanks for the help...

Deep
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.