nickm

*
  • *
  • 20
Setting up an automatic daily crawl
« on: November 09, 2006, 11:32:23 AM »
No doubt so one has already asked this, or its so obvious as to not require explanation, but I'd like toset up an automatic daily crawl. It doesn't have to be daily - merely a time period driven crawl.

Please be sure to assume no prior knowledge when answering:)
Re: Setting up an automatic daily crawl
« Reply #1 on: November 10, 2006, 09:47:54 PM »
Hello,

basically, scheduled tasks on Unix servers are handled with "cron jobs" that can be configured in shell command line: [ External links are visible to logged in users only ]

But in most cases this also can be done within hosting control panel.

nickm

*
  • *
  • 20
Re: Setting up an automatic daily crawl
« Reply #2 on: January 05, 2007, 05:31:59 AM »
I've had our ISP set up a Cron Job on the Server we use as follows:

0 6 * * * /usr/bin/php /home/www/html-data/sitemap_generator/runcrawl.php

We get the following error message:

/bin/sh: line 1: /usr/bin/php: No such file or directory

What are we doing wrong or, more accurately, what have we advised our ISP to do that's wrong!
Re: Setting up an automatic daily crawl
« Reply #3 on: January 05, 2007, 10:31:33 PM »
It means that php location is different on your server. it might be "/usr/local/bin/php", but your hosting support should know better.