danthemilk Posted June 24, 2009 Share Posted June 24, 2009 I know crontab is working on my mac, because I set up a job that simply sends an email to me via php file on my desktop. However, when I use the same format to execute the "spider.php" file in the admin directory it appears to do nothing. At this point, I'm guessing it is a problem related to the use of relative paths in the spider.php file. my crontab looks like this: * * * * * php /path/to/spider.php -all any guesses as to why this isn't doing anything? if I replace it with this other crontab the test email file functions fine. * * * * * php /path/to/send_me_email.php I posted this on the sphider forums as well http://www.sphider.eu/forum/read.php?2,627. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/163504-sphider-cron-job-indexing-trouble/ Share on other sites More sharing options...
JonnoTheDev Posted June 24, 2009 Share Posted June 24, 2009 run the script from the command line on your mac (from the root directory /) and you will see if there are any errors php /path/to/spider.php Quote Link to comment https://forums.phpfreaks.com/topic/163504-sphider-cron-job-indexing-trouble/#findComment-862704 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.