Cronjb used with v. 2.xx doesn't work with v. 4.0
« on: October 06, 2010, 08: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 forum administrators 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, 08:40:39 AM by thunder »
Re: Cronjb used with v. 2.xx doesn't work with v. 4.0
« Reply #1 on: October 06, 2010, 07:06:16 PM »
Hello,

instead of "runcrawl.php" in wget command line, try to use "index.php?op=crawlproc".
Re: Cronjb used with v. 2.xx doesn't work with v. 4.0
« Reply #2 on: October 06, 2010, 11:04:10 PM »
Yes, that's it!

Thanx  :)