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
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