• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Plesk Onyx WHMCS 7 Scheduled Tasks Error

Audanbal

New Pleskian
Task "/opt/plesk/php/7.0/bin/php -q /var/www/vhosts/domainname/crons/cron.php" completed with error in 0 seconds, output:

Unable to communicate with the WHMCS installation.

Please verify the path configured within the crons directory config.php file.


config.php
$whmcspath = '/var/www/vhosts/domainname/crons/';

configuration.php
$attachments_dir = '/var/www/vhosts/domainname/attachments/';
$downloads_dir = '/var/www/vhosts/domainname/downloads/';
$templates_compiledir = '/var/www/vhosts/domainname/templates_c/';
$crons_dir = '/var/www/vhosts/domainname/crons/';
 
Blind moment!
config.php
$whmcspath = '/var/www/vhosts/domainname/crons/';
Should be...
$whmcspath = '/var/www/vhosts/domainname/subdomainname/';
 
Back
Top