I created an addon
for whmcs
in whmcs/modules/addons
directory which I want to run it by the system's cron
job.
WHMCS's cron
job uses this:
php -q /var/www/html/whmcs/whmcs/admin/cron.php
to automate module functions (suspension, termination) and billing settings.
Any ideas to add function to automate my addon using the same cron
job while cron.php
is encrypted?
Just in case you are still looking at this in 2018, docs have changed, you can find DailyCronJob docs here: https://developers.whmcs.com/hooks-reference/cron/#dailycronjob
Also here you can find an entry point for modules creation in WHMCS: https://developers.whmcs.com/modules/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With