Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
traffic_instructions [2018/03/13 21:46]
orwah created
traffic_instructions [2018/03/13 21:47] (current)
orwah
Line 4: Line 4:
  
 to make traffic collecting works you need to make sure that you added the cronjob in the installation ​ to make traffic collecting works you need to make sure that you added the cronjob in the installation ​
 +
  
 use crontab -e to add an 'every hour' cronjob: use crontab -e to add an 'every hour' cronjob:
 +
 10 * * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​cron.php 10 * * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​cron.php
  
 you can try it from browser www.your_whmcs.com/​modules/​servers/​Xenica/​cron/​cron.php you can try it from browser www.your_whmcs.com/​modules/​servers/​Xenica/​cron/​cron.php
 +
 and check if any errors appears . and check if any errors appears .
 +
 +
 +
 +----
 +
  
 if you have so many VMs , and this file take a long time to finish , try to: if you have so many VMs , and this file take a long time to finish , try to:
 +
 - disable any not used servers on whmcs  - disable any not used servers on whmcs 
 +
 - you can separate cronjob into 2 files (every hour , and every day) like this  - you can separate cronjob into 2 files (every hour , and every day) like this 
 +
 10 * * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​gettraffic.php 10 * * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​gettraffic.php
 +
 30 2 * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​getUUIDs.php 30 2 * * * /​usr/​bin/​php -q /​var/​www/​html/​whmcs_dir/​modules/​servers/​Xenica/​cron/​getUUIDs.php
  • traffic_instructions.1520977563.txt.gz
  • Last modified: 2018/03/13 21:46
  • by orwah