XML Sitemaps Generator

Author Topic: Cron Job denied  (Read 28459 times)

dszyszka

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Cron Job denied
« on: August 24, 2006, 03:26:50 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Cron Job denied
« Reply #1 on: August 24, 2006, 05:24:21 AM »
Hello,

which command line you are using for cron job? It should include path to php interpreted, like:
Code: [Select]
/usr/local/bin/php /home/nitrost/public_html/myfhaus/sitemap/runcrawl.php
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

bibifq

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
Re: Cron Job denied
« Reply #2 on: August 25, 2006, 06:38:19 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Cron Job denied
« Reply #3 on: August 25, 2006, 10:55:02 PM »
Hello,

it seems like you have a space character missing after "/php", the line should be consisted from 2 strings like this:
Code: [Select]
/usr/local/bin/php /home/mysiteName/public_html/generator/runcrawl.php:)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

bibifq

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
Re: Cron Job denied
« Reply #4 on: August 27, 2006, 02:46:05 AM »
yes that did it thanks.  ;D

dszyszka

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Cron Job denied
« Reply #5 on: August 28, 2006, 03:58:40 AM »
Sure did the trick!

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2