Virtualmin Webmin Cron Jobs - CLI Php Cron for WHMCS

Firstly, install additional php versions with necessary modules (curl module must).

Virtualmin ioncube is a little bit harder to configure. However, follow the ioncube's installation loader-wizard and you are up.

After installing ioncube extension, make sure to add php with version in CLI cron command.

 


 

 

 

WHMCS automation page suggest you to add command like:

/usr/bin/php -q /home/username/public_html/crons/cron.php

But, you should use on Virtualmin scheduled cron command like:

php7.4 -q /home/username/public_html/crons/cron.php >/dev/null 2>&1

That's all, enjoy !

Post a Comment