• Welcome to Sitemap Generator Forum.
 

Setting up an automatic daily crawl

Started by nickm, November 09, 2006, 11:32:23 AM

Previous topic - Next topic

nickm

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:)

XML-Sitemaps Support

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

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!

XML-Sitemaps Support

It means that php location is different on your server. it might be "/usr/local/bin/php", but your hosting support should know better.