php -q /home/username/public_html/whmcs/modules/addons/xero/cron.php
By default, the cron will run all sync options you have enabled in the module. Alternatively, you can force a specific sync by appending one of these options:
- sync-xero-payments
- sync-contacts
- sync-invoices
- sync-payments
- sync-all (to force all sync methods to run regardless of whether they are enabled in the module or not)
php -q /home/username/public_html/whmcs/modules/addons/xero/cron.php sync-xero-payments