XML Sitemaps Generator

Author Topic: Plesk Scheduled Task (Cron Job)  (Read 244 times)

neilm1

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Plesk Scheduled Task (Cron Job)
« on: August 29, 2017, 10:31:01 PM »
I use PLESK to create Cron jobs.  I am getting the following error when I run this:

usr/bin/php /var/www/vhosts/mycablemart.com/generator/runcrawl.php" completed with error in 2 seconds, output:

PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
Could not open input file: /usr/bin/php /var/www/vhosts/mycablemart.com/generator/runcrawl.php

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10896
Re: Plesk Scheduled Task (Cron Job)
« Reply #1 on: August 30, 2017, 04:49:27 AM »
Hello,

perhaps you need to specify only the path to php file in this case:

/var/www/.../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.

 

SMF 2.0.14 | SMF © 2017, Simple Machines
XHTML RSS WAP2