• Welcome to Sitemap Generator Forum.
 

Problem with cron in plesk

Started by com, October 31, 2007, 11:08:32 AM

Previous topic - Next topic

com

Hello , after looking at your forum and others i still notfind the solutions.

my errors;
first error =  /bin/sh: /usr/local/bin/php: No such file or directory
command = /usr/local/bin/php /var/www/vhosts/mydomain.com/httpdocs/generator/runcrawl.php

second error= /var/www/vhosts/mydomain.com/httpdocs/generator/runcrawl.php: line 1: ?php: No such file or directory
/var/www/vhosts/mydomain.com/httpdocs/generator/runcrawl.php: line 2: syntax error near unexpected token `base64_decode'
/var/www/vhosts/mydomain.com/httpdocs/generator/runcrawl.php: line 2: `eval(base64_decode('Pz48P3BocAokb3AgPSAkX1JFUVVFU1RbJ29wJ10gPSAnY3Jhd2xwcm9jJzsKJGJjVUhpVXZrMV9fTk51OXFJRCA9IHRydWU7CmNoZGlyKGRpcm5hbWUoX19GSUxFX18pKTsKJF9SRVFVRVNUWydiZyddID0gdHJ1ZTsKJF9SRVFVRVNUWydyZXN1bWUnXSA9IHRydWU7CmluY2x1ZGUgJy4vaW5kZXgucGhwJzsKPz4='));

Thank you

XML-Sitemaps Support

Hello,

try to change the command to:

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

com

Thank you for the quick reply, the cron job works , and the sitemap is created but still somo errors, I wil try to fix, and will reply the result

happy halloween from Spain

com

Everything OK

thank you for the fast response