XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 05, 2008, 01:44:05 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
6620 Posts in 1636 Topics by Members
Latest Member: web16
Pages: [1]
  Print  
Author Topic: Cron Task Error in Plesk  (Read 3108 times)
KellyW
Registered Customer
Newbie
*
Posts: 5


View Profile
« 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:
/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php

But have seen other examples where switches are used. Am I missing something?
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #1 on: July 10, 2007, 09:09:41 PM »

Hello,

the command line should be:

Code:
/usr/bin/php /usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!