Jump to content

Recommended Posts

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.