XML Sitemaps Generator

Author Topic: Cronjb used with v. 2.xx doesn't work with v. 4.0  (Read 9099 times)

thunder

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Cronjb used with v. 2.xx doesn't work with v. 4.0
« on: October 06, 2010, 07:37:08 AM »
Hello,

I used the standalone sitemap generator 2.xx and two days ago I updated to 4.0.
Everything works fine except the cronjob, although I did't changed the crontab settings.

I use crontab with Plesk 9.3.0 on a Debian 5.0 root server

With sitemap generator 2.xx I used these settings and it worked perfect:

wget -O /dev/null '[external links are visible to admins only]'


Now, after the update to 4.0, the cronjob still starts, but the sitmap.xml can't be written by the runcrawl.php.
When I do am manuel crawl everything works and the data is written by the generator, so it can't be problem with wrong chmod settings.

I also tried these suggested settings from the generator interface:

/usr/local/bin/php /var/www/vhosts/mydomain.de/httpdocs/generator/runcrawl.php

As the php.ini on my Debian machine isn't on this path, I had to changed the command to:

/etc/php5/apache2/php.ini /var/www/vhosts/mydomain.de/httpdocs/generator/runcrawl.php

... but this also didn't work. I'm not sure but I guess it probably could be a problem about the missing username and password, which I don't know how to implement in the command?


Independent from that, I don't understand, why the settings I used with sitemap generator v. 2.xx don't work with v. 4.0.

I hope someone can help.

If needed, I can also post the error messages, but as they are in german language, I might have problems to translate them into english. ;-)
« Last Edit: October 06, 2010, 07:40:39 AM by thunder »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Cronjb used with v. 2.xx doesn't work with v. 4.0
« Reply #1 on: October 06, 2010, 06:06:16 PM »
Hello,

instead of "runcrawl.php" in wget command line, try to use "index.php?op=crawlproc".
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.

thunder

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Cronjb used with v. 2.xx doesn't work with v. 4.0
« Reply #2 on: October 06, 2010, 10:04:10 PM »
Yes, that's it!

Thanx  :)

 

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