HostedPro

Member
Sep 8, 2006
21
0
151
East Texas
cPanel Access Level
Root Administrator
I'm running a couple DNSonly machines and one of them has the root cronjobs overwritten daily.

I'll setup the two setup with crons like this
Code:
2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
19 21 * * * /usr/local/cpanel/scripts/upcp --cron
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
0 1 * * * /usr/local/cpanel/scripts/cpbackup
and the second machine's cron ends up looking like this
Code:
2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
31 4 * * 1 sleep $((RANDOM \% 7100)); /bin/nice -n +19 /usr/local/cpanel/scripts/upcp --cron --force
0 1 * * * sleep $((RANDOM \% 6100)); /bin/nice -n +19 /usr/local/cpanel/scripts/cpbackup
And the second machine fails to send email of the upcp cronjobs. It will email on security issues or process hangs & the like though.
I've searched but haven't found an answer. If this has been covered please point me in the right direction.

Thanks
Karl
 

HostedPro

Member
Sep 8, 2006
21
0
151
East Texas
cPanel Access Level
Root Administrator
Well, I spoke too soon. It was working OK for a few days then it started again. The root cron is overwritten as

Code:
2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
31 4 * * 1 sleep $((RANDOM \% 7100)); /bin/nice -n +19 /usr/local/cpanel/scripts/upcp --cron --force
0 1 * * * sleep $((RANDOM \% 6100)); /bin/nice -n +19 /usr/local/cpanel/scripts/cpbackup
no matter what I change it to.

Any help with this?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
Hello :)

Feel free to submit a support ticket so we can take a closer look:

Submit A Ticket

Thank you.