Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

cronjob running, but php not executing

7:47 am on Oct 6, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 6, 2007
posts: 78
votes: 0

I recently noticed some crontab jobs not running and did some investigation, and am stumped as to why.

I would appreciate if anyone could point me to things to try to investigate the issue.

- I can run: tail -f /var/log/cron and see that the cron jobs are actually running just fine
- I can run the same cron commands via the commandline: /usr/local/bin/php /home/me/www/script.php and it executes just fine
- I can run the php script via my website and it executes just fine
- There are no error_log logs at the location of the php scripts

Any ideas where to troubleshoot next?

3:53 pm on Oct 7, 2009 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
votes: 93

Does the cron user have access to run the scripts?



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members