• Welcome to Sitemap Generator Forum.
 

Cron Job denied

Started by dszyszka, August 24, 2006, 04:26:50 AM

Previous topic - Next topic

dszyszka

Hello,

I installed everything but when my corn job ran I got an email from my server that looked like this:

/bin/sh: line 1: /home/nitrost/public_html/myfhaus/sitemap/runcrawl.php: Permission denied

Any ideas???

Thanks!
David

XML-Sitemaps Support

Hello,

which command line you are using for cron job? It should include path to php interpreted, like:
/usr/local/bin/php /home/nitrost/public_html/myfhaus/sitemap/runcrawl.php

bibifq

Having the same issue here with this line in for the cron job.
/usr/local/bin/php/home/mysiteName/public_html/generator/runcrawl.php

I have since modified it according to your last post to this;
/usr/local/bin/php/home/mysiteName/public_html/generator/runcrawl.php

Do you have any other recomendations on this?

Thanks ;)


XML-Sitemaps Support

Hello,

it seems like you have a space character missing after "/php", the line should be consisted from 2 strings like this:
/usr/local/bin/php /home/mysiteName/public_html/generator/runcrawl.php
:)

bibifq

yes that did it thanks.  ;D

dszyszka