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! 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 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
Archived
This topic is now archived and is closed to further replies.