• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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