Cron fires out of common setting

jmpsoares

Registered
Jan 30, 2011
1
0
51
Hi!

I have a cron in my cpanel like this:
php /home/domain/public_html/cux/cuxcron.php >/dev/null

Common Setting:
0 1 25 * *

Every 25th day, I receive a scheduled email, as expected.
Thereafter, the cron runs randomly, and I get more emails on other days, at any hour / minute.
Have you any idea what could cause this?

Thank you
Jorge
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Jorge,

Are you certain that no other cron task is set to run this cron besides the one you have scheduled? Could you cull the logs at /var/log/cron and check for that cron to see the times it is running to give us some examples?

Code:
grep cuxcrom.php /var/log/cron
Please try not to revise the times and dates it is running nor the actual paths being reported for the user. I know oftentimes people revise entries to hide the username, but we need to see if the username running it differs from the normal user (such as root running it or some other user).

Also, please check that user's crontab entry to see if there might somehow be another cron entry that isn't showing up in cPanel:

Code:
cat /var/spool/cron/username
You might even grep the crons all together for any other entries on any other account(s):

Code:
grep cuxcron.php /var/spool/cron/*
Thanks.