XML Sitemaps Generator

Author Topic: Problem with cron in plesk  (Read 22107 times)

com

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Problem with cron in plesk
« on: October 31, 2007, 11:08:32 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Problem with cron in plesk
« Reply #1 on: November 01, 2007, 12:36:00 AM »
Hello,

try to change the command to:

/usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/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.

com

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Problem with cron in plesk
« Reply #2 on: November 01, 2007, 08:54:15 AM »
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

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Problem with cron in plesk
« Reply #3 on: November 01, 2007, 09:59:52 AM »
Everything OK

thank you for the fast response

 

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