• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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