XML Sitemaps Generator

Author Topic: Cron Task Error in Plesk  (Read 21574 times)


  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Cron Task Error in Plesk
« on: July 09, 2007, 08:54:59 PM »
I have setup (or tried to setup) a Cron Task in Plesk to run the generator once a week. First  Ireceived the "permission denied" message and changed file permissions to 0755. Now it has the right permission to run the script but I am now getting more errors;

/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php: cannot open ?php: no such file
/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php: 2: Syntax error: word unexpected (expecting ")")

I used the recommended command line:

But have seen other examples where switches are used. Am I missing something?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10903
Re: Cron Task Error in Plesk
« Reply #1 on: July 10, 2007, 09:09:41 PM »

the command line should be:

Code: [Select]
/usr/bin/php /usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php
Oleg Ignatiuk
Send me a Private Message

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


SMF 2.0.14 | SMF © 2017, Simple Machines