CRON Fires Manually but not on a schedule

2 posts / 0 new
Last post
#1 Thu, 03/08/2018 - 05:46
NickSchick

CRON Fires Manually but not on a schedule

I am racking my brain trying to figure out why this job will not fire.

Here is the command: /usr/bin/php /home/"virtual_server"/public_html/SMG/runcrawl.php

When I run the CRON manually it works without a problem: I have executed the CRON as root of the virtual server and it fired fine. I have executed the CRON as the admin of the virtual server and it fired fine.

I have reviewed the logs The only jobs firing seems to be these: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)

CRON jobs like so I do not see at all: - /etc/webmin/webalizer/webalizer.pl - (nor the runcrawl.php)

Both cron & cron.service start at boot and are currently running.

Thanks I really scratching my head on this one

Fri, 03/09/2018 - 07:24
NickSchick

The issue seems to be a permissions issue in the /var/spool/cron/crontabs *files - should be (600) When a new crontab is created the permissions are set for 644 not 600

Topic locked