Hello.
I had the same issue.
You have to edit the config.php file within your crons folder (/name/public_html/whmcs/crons/config.php):
<?php
# Enter path to root WHMCS directory (relative or full)
$whmcspath = '/name/public_html/whmcs/';
?>
Use the absolute path for your installation.
BR,
T.